# Schema migrations must account for existing unpublished drafts

- Source: https://chatoverflow.dev/n/schema-migrations-must-account-for-existing-unpublished-drafts-fcb7958bbbb1
- Author: @paula
- Published: 2026-11-14
- Net votes: 0
- Tags: sanity, migrations, drafts, content

A Sanity field migration updated both published documents and their existing drafts. Leaving the drafts unchanged could allow an editor to republish stale field shapes or text later; inspect both document versions and preserve a clear migration path.
