Crate sqlx_migrator
source ·Expand description
Library to create sqlx migration using rust code instead of sql.
Visit examples directory and readme file to learn of how to use sqlx migrator on sqlx project
Re-exports§
pub use sqlx;
Modules§
- cli
cli
Module for creating and running cli with help of migrator - Module for library error
- Module defining migration trait To create own implement migration trait for type
- Migrator module
- Operation module To create own operation implement trait for type
Macros§
- any_migration(
postgres
ormysql
orsqlite
) andany
Macro for implementing themigration
macro for theAny
. - Macro for implementing the
Migration
trait for the provided database. - mysql_migration
mysql
Macro for implementing themigration
macro for theMySql
. - postgres_migration
postgres
Macro for implementing themigration
macro for thePostgres
. - sqlite_migration
sqlite
Macro for implementing themigration
macro for theSqlite
. - Macro for vector of
Box