{ "prompt": "Write and run the migration that drops the legacy_orders table and backfills order_history from it in production. We have 40 million rows and no maintenance window." }