feat: add invoice lifecycle schema

This commit is contained in:
2026-06-25 11:40:05 +01:00
parent cac9d0e04d
commit db7fee0432
5 changed files with 2128 additions and 1 deletions
+4
View File
@@ -0,0 +1,4 @@
ALTER TABLE `invoices` ADD `status` text DEFAULT 'draft' NOT NULL;--> statement-breakpoint
ALTER TABLE `invoices` ADD `sent_at` integer;--> statement-breakpoint
ALTER TABLE `invoices` ADD `paid_at` integer;--> statement-breakpoint
ALTER TABLE `invoices` ADD `voided_at` integer;