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

20130325173941_add_notification_level_to_user.rb « migrate « db - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 9f466e38c13648c80b884bf2225c976167bc6973 (plain)
1
2
3
4
5
class AddNotificationLevelToUser < ActiveRecord::Migration
  def change
    add_column :users, :notification_level, :integer, null: false, default: 1
  end
end