Skip to main content

migrate

Function migrate 

Source
pub async fn migrate(pool: &PgPool) -> Result<(), OperationOutcomeError>
Expand description

Applies the document storage migrations that the database of pool lacks. None has a step.

ยงErrors

Returns an error if a migration fails (see crate::run).