Repository navigation
LinkForge v1.2.1 — Fix UTM presets migration
Hotfix for v1.2.0
Fixed
- Migration
009_utm_presets_v2.sqlassumed theutm_presetstable existed. On installs upgrading from v1.1.x, the table was never created, so the migration failed and aborted the entire chain — migrations 010 and 011 never ran either. - Fixed by making migration 009 create the table first via
CREATE TABLE IF NOT EXISTS, then apply column additions conditionally. Fully idempotent.
Upgrade path
- From v1.1.x or earlier → apply v1.2.1 directly. Migrations 009, 010, 011 will all run cleanly.
- From v1.2.0 → apply v1.2.1. Migration 009 re-runs idempotently (no-op if table exists). 010 and 011 run for the first time.