summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNikolay <nsamokhvalov@gitlab.com>2018-08-14 00:51:27 +0000
committerNikolay <nsamokhvalov@gitlab.com>2018-08-14 00:51:27 +0000
commit918177b749f86d4cdf6085af6485eb779a50589c (patch)
tree5bb548425be35a854384fbe1881eb643f9fb5397
parentbea52d827e895c9261b3b1e01980832832f7c82a (diff)
downloadgitlab-ce-improve_migrations_docs.tar.gz
Correct inaccurate phrase related to disable_ddl_transaction modeimprove_migrations_docs
-rw-r--r--doc/development/migration_style_guide.md6
1 files changed, 3 insertions, 3 deletions
diff --git a/doc/development/migration_style_guide.md b/doc/development/migration_style_guide.md
index 6f31e5b82e5..6a5ed54cdb7 100644
--- a/doc/development/migration_style_guide.md
+++ b/doc/development/migration_style_guide.md
@@ -134,9 +134,9 @@ should be more than enough.
When removing an index make sure to use the method `remove_concurrent_index` instead
of the regular `remove_index` method. The `remove_concurrent_index` method
automatically drops concurrent indexes when using PostgreSQL, removing the
-need for downtime. To use this method you must disable transactions by calling
-the method `disable_ddl_transaction!` in the body of your migration class like
-so:
+need for downtime. To use this method you must disable single-transaction mode
+by calling the method `disable_ddl_transaction!` in the body of your migration
+class like so:
```ruby
class MyMigration < ActiveRecord::Migration