# Doppler: Downtime due to migration script

- Provider: [Doppler](https://outages.live/doppler.md)
- Type: Incident
- State: Resolved
- Worst impact: Major outage
- Started: 2020-07-10 03:38 UTC
- Resolved: 2020-07-10 04:07 UTC (lasted 29 min)
- Components: API (api.doppler.com), Dashboard (dashboard.doppler.com)
- Official update: https://status.doppler.com

## Updates from Doppler

### postmortem, 2020-07-10 04:14 UTC

Today at 8:38pm Pacific we experienced a critical outage that brought down all of our servers on both our primary and failover production environments. This outage did not result in any data loss but did disable all dashboard and API access. ## Why Did it Happen? At Doppler, we typically do batched rollouts to production at night \(lowest risk time\). To help prevent outages we use staged releases, where the migration scripts are run first, then our new code is released to our clusters. The problem we faced today with this approach is it creates an edge case when we are deleting a column in the database that is still being used in active code. In our latest rollout, we had a migration script that deleted a column in one of our tables. This column would not be used in the soon to be released code but was used by our active deployments. When the migration script ran, all our active deployments immediately crashed as the ORM \(object-relational mapper\) expected a column that did not exis

### resolved, 2020-07-10 04:07 UTC

This incident has been resolved.

### monitoring, 2020-07-10 04:05 UTC

A fix has been implemented and we are monitoring the results.

### investigating, 2020-07-10 03:38 UTC

We are currently investigating this issue.
