diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2023-02-25 00:08:03 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2023-02-25 00:08:03 +0300 |
commit | 0b5e5c78a9d7acbf773d7ba5fd5c2ce9b6ffdb52 (patch) | |
tree | 64e092630aca6e42462003414519f22266dcbc25 /doc/development/database | |
parent | d48b87d4675d6b8b56dd9b40afa9eb2dce32ad3b (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'doc/development/database')
-rw-r--r-- | doc/development/database/add_foreign_key_to_existing_column.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/development/database/add_foreign_key_to_existing_column.md b/doc/development/database/add_foreign_key_to_existing_column.md index a64fc047a57..823fb49a9ab 100644 --- a/doc/development/database/add_foreign_key_to_existing_column.md +++ b/doc/development/database/add_foreign_key_to_existing_column.md @@ -252,7 +252,7 @@ validating a foreign key: 1. Enable the feature flag by running `Feature.enable(:database_async_foreign_key_validation)` in the Rails console. 1. Run `bundle exec rails db:migrate` so that it creates an entry in the async validation table. -1. Run `bundle exec rails gitlab:db:execute_async_fk_validations:all` so that the FK is validated +1. Run `bundle exec rails gitlab:db:validate_async_constraints:all` so that the FK is validated asynchronously on all databases. 1. To verify the foreign key, open the PostgreSQL console using the [GDK](https://gitlab.com/gitlab-org/gitlab-development-kit/-/blob/main/doc/howto/postgresql.md) |