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:
authorKamil Trzciński <ayufan@ayufan.eu>2018-09-06 13:05:19 +0300
committerKamil Trzciński <ayufan@ayufan.eu>2018-09-06 13:05:19 +0300
commitc353773787407158b6319b6944dee57a6e3522b9 (patch)
tree556324492d7ecf68a887dea54530be4b7d38711f /db
parentbafe3a6d6a12c5407993e338b89ebd2b4b76b03a (diff)
Fix project_id migration
Diffstat (limited to 'db')
-rw-r--r--db/migrate/20180101160630_change_project_id_for_prometheus_metrics.rb2
1 files changed, 0 insertions, 2 deletions
diff --git a/db/migrate/20180101160630_change_project_id_for_prometheus_metrics.rb b/db/migrate/20180101160630_change_project_id_for_prometheus_metrics.rb
index 1bdc4e48518..66820f13f54 100644
--- a/db/migrate/20180101160630_change_project_id_for_prometheus_metrics.rb
+++ b/db/migrate/20180101160630_change_project_id_for_prometheus_metrics.rb
@@ -5,8 +5,6 @@ class ChangeProjectIdForPrometheusMetrics < ActiveRecord::Migration
DOWNTIME = false
- disable_ddl_transaction!
-
def change
change_column_null :prometheus_metrics, :project_id, true
end