-- Migration: Add company wizard columns
-- Date: 2026-04-03
-- Purpose: Support multi-step company creation wizard

ALTER TABLE companies ADD COLUMN IF NOT EXISTS wizard_step INTEGER;
ALTER TABLE companies ADD COLUMN IF NOT EXISTS wizard_started_by INTEGER REFERENCES users(id);
ALTER TABLE companies ADD COLUMN IF NOT EXISTS wizard_audit_status JSONB;

GRANT ALL ON TABLE companies TO nordabiz_app;
