Skip to content

Commit 404fb69

Browse files
PiquelChipsclaude
andcommitted
docs(database): only the audit verification tests use an isolated schema
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
1 parent 37cb742 commit 404fb69

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎crates/database/README.md‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@ renders it. After changing a query or a
1616
migration, run `just db prepare` and commit the cache with the change.
1717

1818
Integration tests apply the schema and insert uniquely named fixtures into one
19-
database. Tests that change history the whole database shares, like the audit
20-
chain, get a migrated schema of their own from `Database::isolated`. `just db test`
19+
database. The audit chain's verification tests need history no other test
20+
shares, so they get a migrated schema of their own from `Database::isolated`. `just db test`
2121
runs them in a scratch cluster, or against a disposable `TEST_DATABASE_URL`
2222
(local TCP needs `sslmode=disable`); ordinary tests skip them. Fixtures may use
2323
unchecked `sqlx::query`.

0 commit comments

Comments
 (0)