Welcome to mirror list, hosted at ThFree Co, Russian Federation.

20110924215658_add_admin_field_to_user.rb « migrate « db - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 321587e6957626d8bef79658c1fef358fd0d1d38 (plain)
1
2
3
4
5
class AddAdminFieldToUser < ActiveRecord::Migration
  def change
    add_column :users, :admin, :boolean, :default => false, :null => false
  end
end