* 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
24 lines
1.3 KiB
SQL
24 lines
1.3 KiB
SQL
-- Add columns to company_settings that were applied directly to production but never captured in a migration.
|
|
-- This ensures staging/preview branches have the same schema.
|
|
|
|
ALTER TABLE public.company_settings
|
|
ADD COLUMN IF NOT EXISTS bank_name text,
|
|
ADD COLUMN IF NOT EXISTS clearing_number text,
|
|
ADD COLUMN IF NOT EXISTS account_number text,
|
|
ADD COLUMN IF NOT EXISTS selected_sector text,
|
|
ADD COLUMN IF NOT EXISTS selected_modules jsonb DEFAULT '[]'::jsonb,
|
|
ADD COLUMN IF NOT EXISTS business_profile jsonb DEFAULT '{}'::jsonb,
|
|
ADD COLUMN IF NOT EXISTS employee_count integer,
|
|
ADD COLUMN IF NOT EXISTS annual_revenue_range text,
|
|
ADD COLUMN IF NOT EXISTS has_employees boolean DEFAULT false,
|
|
ADD COLUMN IF NOT EXISTS uses_pos_system boolean DEFAULT false,
|
|
ADD COLUMN IF NOT EXISTS sells_internationally boolean DEFAULT false,
|
|
ADD COLUMN IF NOT EXISTS preliminary_tax_monthly numeric,
|
|
ADD COLUMN IF NOT EXISTS next_quote_number integer DEFAULT 1,
|
|
ADD COLUMN IF NOT EXISTS next_order_number integer DEFAULT 1,
|
|
ADD COLUMN IF NOT EXISTS quote_prefix text,
|
|
ADD COLUMN IF NOT EXISTS order_prefix text,
|
|
ADD COLUMN IF NOT EXISTS default_quote_validity_days integer DEFAULT 30,
|
|
ADD COLUMN IF NOT EXISTS swish_number text,
|
|
ADD COLUMN IF NOT EXISTS invoice_default_notes text;
|