asyncmigrate
database migration with async support
Supported database
- PostgreSQL
License
Apache License 2.0
Example
use ;
use RustEmbed;
;
let mut connection = connect
.await?;
let changeset = load_asset?;
// Run migration
connection.migrate.await?;
// Rollback
connection.rollback.await?;