Skip to main content

Module migrate

Module migrate 

Source
Expand description

Configuration for migrations when executed using sqlx::migrate!() or through sqlx-cli.

See migrate::Config for details.

Structs§

Config
Configuration for migrations when executed using sqlx::migrate!() or through sqlx-cli.
MigrationDefaults

Enums§

DefaultMigrationType
The default type of migration that sqlx migrate add should create by default.
DefaultVersioning
The default scheme that sqlx migrate add should use for version integers.
UnrecognizedSqlFiles
What to do with a .sql file in the migrations directory that doesn’t parse as <VERSION>_<DESCRIPTION>.sql.