QSchemaSnapshot
@quik/database / QSchemaSnapshot
Type Alias: QSchemaSnapshot
QSchemaSnapshot =
object
Defined in: database/src/migrations/snapshot/types.ts:10
Point-in-time record of every registered model's column definitions, used to diff the current code against the last generated migration.
Properties
tables
tables:
Record<string,Record<string,QColumnOptions>>
Defined in: database/src/migrations/snapshot/types.ts:18
Column options keyed by field name, keyed by resolved (possibly schema-qualified) entity name.
version
version:
1
Defined in: database/src/migrations/snapshot/types.ts:14
Snapshot format version, bumped on breaking changes to this shape.