Expand description
SQL migration framework based on refinery and Springtime.
refinery
is powerful SQL migration toolkit for Rust, which makes creating migrations easy.
This crate integrates refinery
with the broader Springtime Framework allowing for providing
database clients and migrations via dependency injection, which further eases creating and
applying migrations, either from files or Rust code.
The crate defines an application runner with a priority of 100, which runs migrations on application start, by default.
§Features
refinery
async db features:mysql_async
,rusqlite-bundled
,tiberius
,tiberius-config
,tokio-postgres
Re-exports§
pub use refinery_core as refinery;
Modules§
- Migration configuration is based on injecting an MigrationConfigProvider, which can later be used to retrieve MigrationConfig.
- Bridge between Springtime and
refinery
migrations. - Module related to running migrations.