-- Apply only after 040 (and 042 on an existing old schema).
-- Stop Azure discovery while preparing the cutover. Never reset an existing cutoff.
INSERT INTO finops_tag_provider (provider, historical_through)
SELECT 'AZURE', COALESCE(MAX(business_date), '2026-11-14')
FROM azure_sponsorship_focus_silver
ON DUPLICATE KEY UPDATE provider=VALUES(provider);
-- No old table is removed here. Replay discovery and import legacy decisions first.
