• shaw's avatar
    fix(migrations): add 097 to restore settings.updated_at default · f9f57e95
    shaw authored
    Legacy instances created the settings table via ent auto-migration,
    which emits Go-level defaults only. Migration 005 uses CREATE TABLE
    IF NOT EXISTS, so the missing SQL DEFAULT was never backfilled. This
    caused 098's raw INSERT to fail with a NOT NULL violation on
    updated_at. The new migration is idempotent and safe for fresh
    installs (no-op) and historical instances (backfills the default).
    f9f57e95
097_fix_settings_updated_at_default.sql 1.5 KB