Retrospring/db/migrate/20141126154451_add_admin_to...

6 lines
145 B
Ruby
Raw Normal View History

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