documentation/db/migrate/20160325130944_add_admin_to...

6 lines
127 B
Ruby

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