mod integrations;
mod sessions;

pub use integrations::PgIntegrationStore;
pub use sessions::PgSessionStore;
pub use sqlx::PgPool;

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