QGeneratedMigrationBody
@quik/database / QGeneratedMigrationBody
Type Alias: QGeneratedMigrationBody
QGeneratedMigrationBody =
object
Defined in: database/src/migrations/snapshot/codegen.ts:12
Result of generating a migration body: the up()/down() statement blocks, plus which framework helpers
(uuidDefault, alterEnumColumn) the generated code calls into, so the caller can build the right import list.
Properties
down
down:
string[]
Defined in: database/src/migrations/snapshot/codegen.ts:14
up
up:
string[]
Defined in: database/src/migrations/snapshot/codegen.ts:13
usesAlterEnumColumn
usesAlterEnumColumn:
boolean
Defined in: database/src/migrations/snapshot/codegen.ts:16
usesUuidDefault
usesUuidDefault:
boolean
Defined in: database/src/migrations/snapshot/codegen.ts:15