diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2020-02-28 03:09:04 +0000 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2020-02-28 03:09:04 +0000 |
commit | 597a43f359c3096d845e764b90439743962e5961 (patch) | |
tree | 2593024f91b2eb44e0764107490be4d0f1119ace /doc/development/migration_style_guide.md | |
parent | f54a50aa826d0eedcf2e56f51462613bc132f826 (diff) | |
download | gitlab-ce-597a43f359c3096d845e764b90439743962e5961.tar.gz |
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 | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/doc/development/migration_style_guide.md b/doc/development/migration_style_guide.md index 57f8ff36c00..f3f46baa54f 100644 --- a/doc/development/migration_style_guide.md +++ b/doc/development/migration_style_guide.md @@ -399,6 +399,8 @@ For an empty table (such as a fresh one), it is recommended to use `add_reference` in a single-transaction migration, combining it with other operations that don't require `disable_ddl_transaction!`. +You can read more about adding [foreign key constraints to an existing column](database/add_foreign_key_to_existing_column.md). + ## Adding Columns With Default Values When adding columns with default values to non-empty tables, you must use |