nautilus_infrastructure::sql::pg

Function init_postgres

Source
pub async fn init_postgres(
    pg: &PgPool,
    database: String,
    password: String,
    schema_dir: Option<String>,
) -> Result<()>