diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2021-04-01 09:09:29 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2021-04-01 09:09:29 +0300 |
commit | 2db9c1eee29dbd6e2592627bca55fa084f36d6d5 (patch) | |
tree | 8f71fe6e7abb62e6da66efaf773563109a4681f6 /doc/development/migration_style_guide.md | |
parent | 4223ed2e83401f32f60d9de549d9c33cb376757a (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'doc/development/migration_style_guide.md')
-rw-r--r-- | doc/development/migration_style_guide.md | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/development/migration_style_guide.md b/doc/development/migration_style_guide.md index d2a2e7ae463..8c1420a3630 100644 --- a/doc/development/migration_style_guide.md +++ b/doc/development/migration_style_guide.md @@ -254,7 +254,7 @@ end **Creating a new table with a foreign key:** -We can simply wrap the `create_table` method with `with_lock_retries`: +We can wrap the `create_table` method with `with_lock_retries`: ```ruby def up @@ -715,7 +715,7 @@ the `DROP TABLE` statement is likely to stall concurrent traffic until it fails Table **has no records** (feature was never in use) and **no foreign keys**: -- Simply use the `drop_table` method in your migration. +- Use the `drop_table` method in your migration. ```ruby def change |