chore: add migration 0008 for payments, recurring invoices, and public links

Adds invoice_payment, recurring_invoice, recurring_invoice_item tables and
publicToken/lastReminderSentAt/invoicePrefix columns to invoice. Uses
IF NOT EXISTS guards since invoicePrefix may have been applied via db:push.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-05-10 18:13:35 -04:00
parent f0c34160df
commit 95b5ba5171
3 changed files with 2396 additions and 1 deletions
+8 -1
View File
@@ -57,6 +57,13 @@
"when": 1777339000000,
"tag": "0007_invoice_email_message",
"breakpoints": true
},
{
"idx": 8,
"version": "7",
"when": 1747526400000,
"tag": "0008_payments_recurring_public_links",
"breakpoints": true
}
]
}
}