Commit 654782cf authored by Samana's avatar Samana

Update doc/development/adding_database_indexes.md

parent 461be6e4
...@@ -275,11 +275,11 @@ You can verify if the MR was deployed to GitLab.com by executing ...@@ -275,11 +275,11 @@ You can verify if the MR was deployed to GitLab.com by executing
`/chatops run auto_deploy status <merge_sha>`. To verify existence of `/chatops run auto_deploy status <merge_sha>`. To verify existence of
the index, you can: the index, you can:
- Use a meta-command in #database-lab, such as: `\d <index_name>` - Use a meta-command in #database-lab, such as: `\d <index_name>`.
- Ensure that the index is not [`invalid`](https://www.postgresql.org/docs/12/sql-createindex.html#:~:text=The%20psql%20%5Cd%20command%20will%20report%20such%20an%20index%20as%20INVALID) - Ensure that the index is not [`invalid`](https://www.postgresql.org/docs/12/sql-createindex.html#:~:text=The%20psql%20%5Cd%20command%20will%20report%20such%20an%20index%20as%20INVALID).
- Ask someone in #database to check if the index exists - Ask someone in #database to check if the index exists.
- With proper access, you can also verify directly on production or in a - With proper access, you can also verify directly on production or in a
production clone production clone.
### Add a migration to create the index synchronously ### Add a migration to create the index synchronously
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment