retrospring/db/migrate/20141226115905_add_moderator_to_users.rb
2020-04-19 18:10:31 +02:00

5 lines
153 B
Ruby

class AddModeratorToUsers < ActiveRecord::Migration[4.2]
def change
add_column :users, :moderator, :boolean, default: false, null: false
end
end