Retrospring/db/migrate/20141126154451_add_admin_to...

6 lines
140 B
Ruby

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