From c353773787407158b6319b6944dee57a6e3522b9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kamil=20Trzci=C5=84ski?= Date: Thu, 6 Sep 2018 12:05:19 +0200 Subject: [PATCH] Fix project_id migration --- .../20180101160630_change_project_id_for_prometheus_metrics.rb | 2 -- 1 file changed, 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