Add migration 0016 to fix missing sendReminderAt column.
0015 was already marked applied with the wrong column name, so redeploys skipped it; 0016 drops send_reminder_at and adds sendReminderAt. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -0,0 +1,3 @@
|
|||||||
|
-- 0015 may have been recorded before the column name was corrected (send_reminder_at vs sendReminderAt).
|
||||||
|
ALTER TABLE "beenvoice_invoice" DROP COLUMN IF EXISTS "send_reminder_at";
|
||||||
|
ALTER TABLE "beenvoice_invoice" ADD COLUMN IF NOT EXISTS "sendReminderAt" timestamp;
|
||||||
@@ -113,6 +113,13 @@
|
|||||||
"when": 1781400000000,
|
"when": 1781400000000,
|
||||||
"tag": "0015_invoice_send_reminder_at",
|
"tag": "0015_invoice_send_reminder_at",
|
||||||
"breakpoints": true
|
"breakpoints": true
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"idx": 16,
|
||||||
|
"version": "7",
|
||||||
|
"when": 1781500000000,
|
||||||
|
"tag": "0016_fix_send_reminder_at_column",
|
||||||
|
"breakpoints": true
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user