Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Format ¶
type Format string
Format represents the target format for migration export.
const ( // FormatSQL emits a standard SQL file with transactional and non-transactional annotations. FormatSQL Format = "sql" // FormatGoose emits a Goose-compatible migration file with Up/Down sections. FormatGoose Format = "goose" // FormatAtlas emits an Atlas-compatible SQL migration file. FormatAtlas Format = "atlas" // FormatMigrate emits golang-migrate compatible .up.sql and .down.sql migration files. FormatMigrate Format = "migrate" // FormatGolangMigrate is an alias for FormatMigrate. FormatGolangMigrate Format = "golang-migrate" )
Click to show internal directories.
Click to hide internal directories.