I shot myself in the foot the other day. I changed the license of OnlyJunk.Fans' source to Filthy Human Hands, and today, I tried to deploy a new version, and was greeted with:
Aug 23 14:33:02 oscar ojf[271300]: Error: × Failed to initialize database
Aug 23 14:33:02 oscar ojf[271300]: help: migration 20260128201353 was previously applied but has been modified
...the migration files have a copyright header, and since those changed, the checksum changed too. Updating the checksums is a bit of a PITA, because they're bytea. The easiest way I found was to spin up a fresh database locally, COPY _sqlx_migrations TO STDOUT WITH CSV, and then on Oscar:
DELETE FROM _sqlx_migrations;
COPY _sqlx_migrations FROM STDIN WITH CSV;
<paste stuff here>
^D
...and then restart OJF, and it's all working now.