rs-auth-postgres 0.1.2

Postgres persistence and migrations for rs-auth.
Documentation
1
2
3
4
5
6
use sqlx::PgPool;

/// Run all pending database migrations.
pub async fn run_migrations(pool: &PgPool) -> Result<(), sqlx::migrate::MigrateError> {
    sqlx::migrate!("./migrations").run(pool).await
}