gitlabhq/db/migrate/20110924215658_add_admin_field_to_user.rb
Dmitriy Zaporozhets d378468794 v1.0
2011-10-13 04:00:00 +03:00

6 lines
150 B
Ruby

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