retrospring/db/migrate/20141226115905_add_moderator_to_users.rb

6 lines
153 B
Ruby
Raw Normal View History

class AddModeratorToUsers < ActiveRecord::Migration[4.2]
2014-12-26 13:04:05 +01:00
def change
add_column :users, :moderator, :boolean, default: false, null: false
end
end