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

5 lines
145 B
Ruby

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