Load a SchemaSnapshot from disk.
Returns an empty snapshot (no tables) when the file does not exist — this is the "first run" case, which causes migrate generate to emit a single migration containing CREATE TABLE for every entity.
migrate generate
CREATE TABLE
Absolute or cwd-relative path to snapshot.json.
snapshot.json
The parsed snapshot, or { version: 1, tables: {} } if missing or unreadable.
{ version: 1, tables: {} }
Load a SchemaSnapshot from disk.
Returns an empty snapshot (no tables) when the file does not exist — this is the "first run" case, which causes
migrate generateto emit a single migration containingCREATE TABLEfor every entity.