Static data and migrations
Published 20 February 2017
When you deploy migration scripts alongside static data changes, the migration scripts will run first. This can cause the deployment to fail.
We don't recommend using migration scripts on tables which have static data linked.
If the deployment fails, splitting the deployment in two may succeed. Deploy the revision before the migration script to make the static data changes, then deploy the latest revision to run the migration script.