Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Léo-Paul Géneau
gitlab-ce
Commits
918177b7
Commit
918177b7
authored
Aug 14, 2018
by
Nikolay
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Correct inaccurate phrase related to disable_ddl_transaction mode
parent
bea52d82
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
doc/development/migration_style_guide.md
doc/development/migration_style_guide.md
+3
-3
No files found.
doc/development/migration_style_guide.md
View file @
918177b7
...
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment