Add business logo branding support
This commit is contained in:
@@ -0,0 +1,3 @@
|
||||
ALTER TABLE "beenvoice_business" ADD COLUMN IF NOT EXISTS "logoStorageKey" varchar(500);
|
||||
--> statement-breakpoint
|
||||
ALTER TABLE "beenvoice_business" ADD COLUMN IF NOT EXISTS "logoMimeType" varchar(100);
|
||||
@@ -0,0 +1 @@
|
||||
ALTER TABLE "beenvoice_business" ADD COLUMN IF NOT EXISTS "hideNameWithLogo" boolean DEFAULT false NOT NULL;
|
||||
@@ -0,0 +1,8 @@
|
||||
-- 0025 was silently skipped on databases that already had a later migration
|
||||
-- timestamp recorded (from a since-removed feature's migrations). Re-apply
|
||||
-- idempotently so both that DB and any fresh install end up with the column.
|
||||
ALTER TABLE "beenvoice_business" ADD COLUMN IF NOT EXISTS "hideNameWithLogo" boolean DEFAULT false NOT NULL;
|
||||
--> statement-breakpoint
|
||||
-- Drop the orphaned table from the business-document-vault feature that was
|
||||
-- removed earlier this session (its migrations ran on this DB before removal).
|
||||
DROP TABLE IF EXISTS "beenvoice_business_document" CASCADE;
|
||||
@@ -156,12 +156,40 @@
|
||||
"tag": "0021_audit_log",
|
||||
"breakpoints": true
|
||||
},
|
||||
{
|
||||
"idx": 22,
|
||||
"version": "7",
|
||||
"when": 1782100000000,
|
||||
"tag": "0022_expense_business_receipts",
|
||||
"breakpoints": true
|
||||
},
|
||||
{
|
||||
"idx": 23,
|
||||
"version": "7",
|
||||
"when": 1782200000000,
|
||||
"tag": "0023_invoice_item_time_entry",
|
||||
"breakpoints": true
|
||||
},
|
||||
{
|
||||
"idx": 24,
|
||||
"version": "7",
|
||||
"when": 1783700000000,
|
||||
"tag": "0024_business_logo_upload",
|
||||
"breakpoints": true
|
||||
},
|
||||
{
|
||||
"idx": 25,
|
||||
"version": "7",
|
||||
"when": 1783800000000,
|
||||
"tag": "0025_business_hide_name_with_logo",
|
||||
"breakpoints": true
|
||||
},
|
||||
{
|
||||
"idx": 26,
|
||||
"version": "7",
|
||||
"when": 1784000000000,
|
||||
"tag": "0026_business_hide_name_with_logo_fix",
|
||||
"breakpoints": true
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user