retrospring/db/migrate/20141126154451_add_admin_to_users.rb

6 lines
145 B
Ruby
Raw Normal View History

class AddAdminToUsers < ActiveRecord::Migration[4.2]
2014-11-26 17:02:47 +01:00
def change
add_column :users, :admin, :boolean, default: false, null: false
end
end