diff --git a/deploy/README.md b/deploy/README.md index 56506fb..08ea574 100644 --- a/deploy/README.md +++ b/deploy/README.md @@ -275,6 +275,13 @@ one transaction with foreign keys off, and verifies the row counts before it commits. It refuses to run while anything else has the database open, and refuses to merge into an account that already owns writing. +**`local` comes back, and that's expected.** `db.Open` seeds that row on every +startup, so it reappears the moment Petal restarts after a migration. It owns +nothing — the writing is on the real account — and it is only ever resolved to +by `StaticResolver`, which a deployment with `AUTHENTIK_*` set never uses. Check +`SELECT COUNT(*) FROM documents WHERE user_id = 'local'` if you want to be sure +a migration took; the presence of the row itself says nothing. + --- ## 5. Backups