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:
authorJames Lopez <james@jameslopez.es>2017-02-24 19:06:05 +0300
committerJames Lopez <james@jameslopez.es>2017-02-24 19:06:05 +0300
commitf23777eddbdb1e951c210206938d8fa142228763 (patch)
tree74114f9f5955ce0c5be956faa152e6e26f3e5f7f /db
parent5fda2aad746e14b1a098e8c47eef4e571d0d9de9 (diff)
fix migration
Diffstat (limited to 'db')
-rw-r--r--db/migrate/20160610201627_migrate_users_notification_level.rb3
1 files changed, 3 insertions, 0 deletions
diff --git a/db/migrate/20160610201627_migrate_users_notification_level.rb b/db/migrate/20160610201627_migrate_users_notification_level.rb
index 760b766828e..941e66862ae 100644
--- a/db/migrate/20160610201627_migrate_users_notification_level.rb
+++ b/db/migrate/20160610201627_migrate_users_notification_level.rb
@@ -1,6 +1,9 @@
class MigrateUsersNotificationLevel < ActiveRecord::Migration
# Migrates only users who changed their default notification level :participating
# creating a new record on notification settings table
+ include Gitlab::Database::MigrationHelpers
+
+ DOWNTIME = false
def up
execute(%Q{