Serialized snapshot of all entity schemas at a given point in time.
Stored in <migrations.directory>/snapshot.json and committed to version
control. migrate generate diffs the current code against this snapshot
(instead of a live database) to produce migration files, so no DB
connection is required.
Each entry in tables mirrors the shape that introspectDatabase would
return — allowing diffSchema to be reused unchanged.
Serialized snapshot of all entity schemas at a given point in time.
Stored in
<migrations.directory>/snapshot.jsonand committed to version control.migrate generatediffs the current code against this snapshot (instead of a live database) to produce migration files, so no DB connection is required.Each entry in
tablesmirrors the shape thatintrospectDatabasewould return — allowingdiffSchemato be reused unchanged.