Self-hosting: the one manual step older SQLite relays need #64

Merged
paulhitt merged 1 commits from docs/sqlite-verification-backfill into main 2026-09-26 18:54:42 +00:00
1 Commits
Author SHA1 Message Date
Paul HittandClaude Opus 5.5 a183a4f512 Self-hosting: the one manual step older SQLite relays need
Relay finding F10 fixed the email-verification migration on SQLite. It
was meant to mark every existing account verified and, because SQLite
has no NOW(), marked nobody without raising an error. The fix only
reaches relays that have not run that migration yet, since a migration
runs once. The by-hand repair for the rest was written down only in a
relay commit message, which is not somewhere a self-hoster looks.

It is on the page now, under Updating. The UPDATE marks only accounts
created before the migration ran, read from the migration's own row in
_fluent_migrations, so anyone who signed up since still has to confirm
their address, and it is safe to run twice or on a relay that never
needed it.

The relay renders this page and runs the SQL exactly as printed against
a database left in the broken state, so the two cannot drift apart.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-09-26 14:39:00 -04:00