• Guard ShopWorker drops in AddAppointmentReminderSentAt migration with IF EXISTS

    spouliot released this 2026-05-19 17:43:30 -04:00 | 108 commits to master since this release

    Prod and dev databases diverged on whether ShopWorker tables and indexes
    exist, causing unconditional DROP statements to fail on prod. Replaced
    all individual DropForeignKey/DropTable/DropIndex/DropColumn calls with
    a single SQL block using IF EXISTS guards so the migration runs safely
    regardless of DB state.

    Co-Authored-By: Claude Sonnet 4.6 noreply@anthropic.com

    Downloads