-- No destructive downgrade: removing company identity would collapse independent -- catalogue and legacy follows. Restore a backup or explicitly reconcile first. DO $$ BEGIN RAISE EXCEPTION '000017 cannot be reverted without explicit company/legacy reconciliation'; END $$;