-- Service order invoice requirement flag
ALTER TABLE service_orders
    ADD COLUMN IF NOT EXISTS requires_invoice BOOLEAN DEFAULT FALSE;

CREATE INDEX IF NOT EXISTS idx_service_orders_requires_invoice
    ON service_orders(requires_invoice);
