summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuke "Jared" Bennett <lbennett@gitlab.com>2017-04-28 18:09:55 +0100
committerLuke "Jared" Bennett <lbennett@gitlab.com>2017-04-28 18:09:55 +0100
commit637ed8a21e9f9457d1b194f9c591a0813c20cc3e (patch)
treebf943eaaa2c8df7b16f87bb288ede98c4056cb33
parentca17e258a2233e18912529f33646db27edc58e25 (diff)
downloadgitlab-ce-637ed8a21e9f9457d1b194f9c591a0813c20cc3e.tar.gz
Added migration downtime tag
-rw-r--r--db/migrate/20170428123910_add_clientside_sentry_to_application_settings.rb3
1 files changed, 3 insertions, 0 deletions
diff --git a/db/migrate/20170428123910_add_clientside_sentry_to_application_settings.rb b/db/migrate/20170428123910_add_clientside_sentry_to_application_settings.rb
index 2b085b889eb..380060b18b3 100644
--- a/db/migrate/20170428123910_add_clientside_sentry_to_application_settings.rb
+++ b/db/migrate/20170428123910_add_clientside_sentry_to_application_settings.rb
@@ -1,5 +1,8 @@
# rubocop:disable all
class AddClientsideSentryToApplicationSettings < ActiveRecord::Migration
+ DOWNTIME = true
+ DOWNTIME_REASON = 'This migration requires downtime because we must add 2 new columns, 1 of which has a default value.'
+
def change
change_table :application_settings do |t|
t.boolean :clientside_sentry_enabled, default: false