clarion/db/migrate/20140902144335_add_admin_flag_to_users.rb
2019-04-28 11:56:16 +03:00

6 lines
149 B
Ruby

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