7a685b9bd8
Conflated CREATE TABLE/INDEX's IF NOT EXISTS support with ALTER TABLE ADD COLUMN, which SQLite has never supported -- syntax error, not a version issue (confirmed on 3.49.2). Check pragma table_info for the column first instead. Verified against both a fresh DB and one simulating the existing pre-migration production schema, and confirmed idempotent on a second open. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>