* fix: make new user checklist mobile responsive Adjust spacing, padding, typography, and indentation for small screens so the onboarding welcome screen works well on mobile devices. * fix: make expenses and bookkeeping verification views mobile responsive - Expenses/new: stack form grids on mobile, replace line items table with card layout, full-width action buttons - Expenses/[id]: stack header and actions, card layout for line items and payments, single-column info grid on mobile - JournalEntryList: unify verification lines into card layout for all screen sizes, hide redundant line descriptions that duplicate account name or entry description, stack filter bar and action buttons on mobile * fix: remove stray )); in provider_consents migration Syntax error on line 35 caused MIGRATIONS_FAILED on the Supabase staging branch. * fix: enhance mobile responsiveness for invoices page and update dialog styles
9 lines
461 B
SQL
9 lines
461 B
SQL
-- Add columns to customers that were applied directly to production but never captured in a migration.
|
|
-- This ensures staging/preview branches have the same schema.
|
|
|
|
ALTER TABLE public.customers
|
|
ADD COLUMN IF NOT EXISTS customer_type text NOT NULL DEFAULT 'individual',
|
|
ADD COLUMN IF NOT EXISTS address_line2 text,
|
|
ADD COLUMN IF NOT EXISTS vat_number_validated boolean DEFAULT false,
|
|
ADD COLUMN IF NOT EXISTS default_payment_terms integer DEFAULT 30;
|