Commit a3c986c
committed
fix(db): index the keyword projection by document for the ACL fan-out trigger
The document ACL trigger updates the keyword projection by document id; the projection had no index on that column, so every document ACL or source change scanned the whole projection. Adds the index concurrently.1 parent aadebe0 commit a3c986c
4 files changed
Lines changed: 28462 additions & 15 deletions
File tree
- packages/db
- migrations
- meta
Lines changed: 6 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
0 commit comments