Skip to main content
zerotal

Documentation


Documentation / @zerotal/orm / index / DiffResult

Interface: DiffResult

Defined in: packages/orm/src/schema/SchemaDiffer.ts:20

Properties

newTables

newTables: NewTable[]

Defined in: packages/orm/src/schema/SchemaDiffer.ts:21


newColumns

newColumns: NewColumn[]

Defined in: packages/orm/src/schema/SchemaDiffer.ts:22


droppedColumns

droppedColumns: DroppedColumn[]

Defined in: packages/orm/src/schema/SchemaDiffer.ts:28

Columns that exist in the live table but are no longer declared by the model. Only ever acted on by a disruptive synchronize - additive sync and migrate:generate ignore these to avoid accidental data loss.