Consent log: missing-table line once per Payload instance; SQL upgrade proof on Postgres and SQLite

test/consentLogUpgrade.test.ts: a site without the log (migrations applied) upgraded to 1.17.0 — without a migration
the site works and a consent write answers 503 with one log line; migrate:create adds only consent_records (and the
lock-relation column) and writes succeed. SQLite always; Postgres with IAPL_TEST_PG_URL. Docs say exactly what the
migration creates.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
Radosław Smoliński
2026-11-26 13:51:52 +01:00
co-authored by Claude Opus 5.5
parent f5c53e4523
commit c6a276823c
5 changed files with 155 additions and 9 deletions
+1
View File
@@ -57,3 +57,4 @@ next-env.d.ts
# pnpm starter:gate work folder
.starter-gate/
.legacy-site-*/
.tmp-consent-upgrade-*