summaryrefslogtreecommitdiff
path: root/db/migrate/20160919144305_add_type_to_labels.rb
diff options
context:
space:
mode:
Diffstat (limited to 'db/migrate/20160919144305_add_type_to_labels.rb')
-rw-r--r--db/migrate/20160919144305_add_type_to_labels.rb3
1 files changed, 3 insertions, 0 deletions
diff --git a/db/migrate/20160919144305_add_type_to_labels.rb b/db/migrate/20160919144305_add_type_to_labels.rb
index 66172bda6ff..d08b339cd27 100644
--- a/db/migrate/20160919144305_add_type_to_labels.rb
+++ b/db/migrate/20160919144305_add_type_to_labels.rb
@@ -1,9 +1,12 @@
+# rubocop:disable Migration/UpdateColumnInBatches
class AddTypeToLabels < ActiveRecord::Migration
include Gitlab::Database::MigrationHelpers
DOWNTIME = true
DOWNTIME_REASON = 'Labels will not work as expected until this migration is complete.'
+ disable_ddl_transaction!
+
def change
add_column :labels, :type, :string