pub async fn migrate(pool: &PgPool) -> Result<(), OperationOutcomeError>Expand description
Applies the search migrations that the database of pool lacks, then
checks the database has everything the search schema needs.
ยงErrors
Returns an error if a migration fails (see crate::run), or if the
database still lacks a table, column or index the schema needs: a missing
column would otherwise surface as a failed write or search later on.