Skip to content

Commit

Permalink
[EASY] Reminder: Create indexes concurrently (#3298)
Browse files Browse the repository at this point in the history
Updates the DB changes reminder to consider using `CREATE INDEX
CONCURRENTLY` for the tables involved in the critical execution path.
  • Loading branch information
squadgazzz authored Feb 27, 2025
1 parent 8a79b1d commit 7d31849
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/nitpicks.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
- markdown: |
Reminder: Please update the DB Readme and comment whether migrations are reversible (include rollback scripts if applicable).
If new tables were added, update the [tables list](https://github.com/cowprotocol/services/blob/main/crates/database/src/lib.rs#L51-L87).
If creating new tables, update the [tables list](https://github.com/cowprotocol/services/blob/main/crates/database/src/lib.rs#L51-L87).
When adding a new index, consider using `CREATE INDEX CONCURRENTLY` for tables involved in the critical execution path.
pathFilter:
- "database/sql/**"

Expand Down

0 comments on commit 7d31849

Please sign in to comment.