summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYorick Peterse <yorickpeterse@gmail.com>2018-11-20 12:18:42 +0000
committerYorick Peterse <yorickpeterse@gmail.com>2018-11-20 12:18:42 +0000
commit3cf5ae3158fe59cc7ef38db5a6188a02e833d873 (patch)
tree01bbe13bf071d9e8775d3ee4fc79462bd9c048f1
parent7b61774acbcf7fce7fcac8df3911d10ca184b63a (diff)
parent918177b749f86d4cdf6085af6485eb779a50589c (diff)
downloadgitlab-ce-3cf5ae3158fe59cc7ef38db5a6188a02e833d873.tar.gz
Merge branch 'improve_migrations_docs' into 'master'
Documentation: Correct inaccurate phrase related to disable_ddl_transaction mode See merge request gitlab-org/gitlab-ce!21175
-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 e4e532bb4ed..a99267bfbba 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