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

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/db
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2013-04-04 23:11:15 +0400
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2013-04-04 23:11:15 +0400
commit3c3baf8f6d7799039cf16db044c9873f79137a49 (patch)
tree1473d59d7c47d96be84692a1e52f600ddf528f2d /db
parent5cb3024e1365e5e871f518aef6075c90b49a6600 (diff)
add notification level to UsersProject
Diffstat (limited to 'db')
-rw-r--r--db/migrate/20130404164628_add_notification_level_to_user_project.rb5
1 files changed, 5 insertions, 0 deletions
diff --git a/db/migrate/20130404164628_add_notification_level_to_user_project.rb b/db/migrate/20130404164628_add_notification_level_to_user_project.rb
new file mode 100644
index 00000000000..27de5d6bf55
--- /dev/null
+++ b/db/migrate/20130404164628_add_notification_level_to_user_project.rb
@@ -0,0 +1,5 @@
+class AddNotificationLevelToUserProject < ActiveRecord::Migration
+ def change
+ add_column :users_projects, :notification_level, :integer, null: false, default: 3
+ end
+end