Files
HellionChat/ChatTwo
JonKazama-Hellion 94064bf9e4 Make Migrate3 idempotent against partial application
If Migrate3 has already applied its schema changes but failed to
bump user_version (e.g. process crashed between ALTER and
SetMigrationVersion), the next run currently hits a duplicate
column error because ALTER TABLE ADD COLUMN is not idempotent in
SQLite.

Detect the recovery case by checking for the presence of the v3
target columns and the absence of the dropped Code column, and
just record the migration version when found.
2026-05-01 18:19:39 +02:00
..
2026-05-01 11:59:25 +02:00
2026-04-30 02:59:58 +02:00
2024-04-10 20:02:54 +02:00
2026-04-30 02:59:58 +02:00
2026-05-01 12:02:45 +02:00
2026-05-01 02:10:10 +02:00
2026-05-01 12:02:45 +02:00
2026-05-01 11:59:25 +02:00
2024-09-02 12:51:45 +02:00
2026-04-30 02:59:58 +02:00
2026-04-30 02:59:58 +02:00
2026-04-30 02:59:58 +02:00
2026-04-30 02:59:58 +02:00
2024-11-21 11:58:22 +01:00
2026-04-30 02:59:58 +02:00
2026-04-30 02:59:58 +02:00
2026-04-30 02:59:58 +02:00
2026-04-30 02:59:58 +02:00
2026-04-30 22:27:23 +02:00
2026-04-30 02:59:58 +02:00