gitlabhq/db/migrate/20110924215658_add_admin_field_to_user.rb

6 lines
150 B
Ruby
Raw Normal View History

2011-10-08 23:36:38 +02:00
class AddAdminFieldToUser < ActiveRecord::Migration
def change
add_column :users, :admin, :boolean, :default => false, :null => false
end
end