summaryrefslogtreecommitdiff
path: root/generator_templates/rails/post_deployment_migration/migration.rb
diff options
context:
space:
mode:
Diffstat (limited to 'generator_templates/rails/post_deployment_migration/migration.rb')
-rw-r--r--generator_templates/rails/post_deployment_migration/migration.rb6
1 files changed, 2 insertions, 4 deletions
diff --git a/generator_templates/rails/post_deployment_migration/migration.rb b/generator_templates/rails/post_deployment_migration/migration.rb
index b36cf877f0e..689d1de9d17 100644
--- a/generator_templates/rails/post_deployment_migration/migration.rb
+++ b/generator_templates/rails/post_deployment_migration/migration.rb
@@ -7,10 +7,8 @@ class <%= migration_class_name %> < ActiveRecord::Migration[<%= ActiveRecord::Mi
# Uncomment the following include if you require helper functions:
# include Gitlab::Database::MigrationHelpers
- DOWNTIME = false
-
- # When using the methods "add_concurrent_index", "remove_concurrent_index" or
- # "add_column_with_default" you must disable the use of transactions
+ # When using the methods "add_concurrent_index" or "remove_concurrent_index"
+ # you must disable the use of transactions
# as these methods can not run in an existing transaction.
# When using "add_concurrent_index" or "remove_concurrent_index" methods make sure
# that either of them is the _only_ method called in the migration,