-- 2026-06: add 'pending_migration' to asset_status enum for manual SMB-to-S3 promotion
DO $$
BEGIN
  IF NOT EXISTS (SELECT 1 FROM pg_enum WHERE enumlabel = 'pending_migration' AND enumtypid = 'asset_status'::regtype) THEN
    ALTER TYPE asset_status ADD VALUE 'pending_migration';
  END IF;
END
$$;
