summaryrefslogtreecommitdiff
path: root/db
diff options
context:
space:
mode:
authorPawel Chojnacki <pawel@chojnacki.ws>2017-05-23 16:09:00 +0200
committerPawel Chojnacki <pawel@chojnacki.ws>2017-06-02 19:45:58 +0200
commitef9f23b797d7467a1d1bda15e29d1f33b070065f (patch)
treefff741860bfb8f574cd28f0c2ae4cc0a7a14c342 /db
parent254830c1f963f344585a45d96a03985e1ec2df0e (diff)
downloadgitlab-ce-ef9f23b797d7467a1d1bda15e29d1f33b070065f.tar.gz
Mark migration as requiring no downtime
+ Add spaces for four phases approach + fix InfluxDB rename
Diffstat (limited to 'db')
-rw-r--r--db/migrate/20170519102115_add_prometheus_settings_to_metrics_settings.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/db/migrate/20170519102115_add_prometheus_settings_to_metrics_settings.rb b/db/migrate/20170519102115_add_prometheus_settings_to_metrics_settings.rb
index e675fb7cd58..4e2c94be943 100644
--- a/db/migrate/20170519102115_add_prometheus_settings_to_metrics_settings.rb
+++ b/db/migrate/20170519102115_add_prometheus_settings_to_metrics_settings.rb
@@ -2,6 +2,8 @@ class AddPrometheusSettingsToMetricsSettings < ActiveRecord::Migration
include Gitlab::Database::MigrationHelpers
disable_ddl_transaction!
+ DOWNTIME = false
+
def up
add_column_with_default(:application_settings, :prometheus_metrics_enabled, :boolean,
default: false, allow_null: false)