7738f286af
* feat(settings): add toggle for displaying company name on invoice PDF header * fix(migrations): rename duplicate-timestamped migration to unique version Two migrations shared timestamp 20260513120000, causing schema_migrations PK collision (SQLSTATE 23505) on apply. Bump the VAT seed migration to 20260513120100 so both insert cleanly. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com> --------- Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
9 lines
358 B
SQL
9 lines
358 B
SQL
-- Add invoice_show_company_name toggle for invoice PDF header.
|
|
-- When false, the company name is hidden under the logo in the invoice PDF.
|
|
-- Default true preserves existing invoice layout for all current users.
|
|
|
|
ALTER TABLE public.company_settings
|
|
ADD COLUMN IF NOT EXISTS invoice_show_company_name boolean DEFAULT true;
|
|
|
|
NOTIFY pgrst, 'reload schema';
|