Repository navigation
Commit b1f45aa
test(database): scope the purge test's foreign keys to its own schema
The audit tests migrate schemas of their own in the same database. Listing
every foreign key to users across schemas raced their migrations (a
half-migrated schema still has security_audit_log) and scanned every
leftover schema.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>1 parent 95aaedd commit b1f45aa
1 file changed
Lines changed: 3 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
282 | 282 | | |
283 | 283 | | |
284 | 284 | | |
| 285 | + | |
285 | 286 | | |
286 | 287 | | |
287 | 288 | | |
| |||
297 | 298 | | |
298 | 299 | | |
299 | 300 | | |
300 | | - | |
| 301 | + | |
| 302 | + | |
301 | 303 | | |
302 | 304 | | |
303 | 305 | | |
| |||
0 commit comments