Skip to main content

check_schema

Function check_schema 

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

Verifies the tables and all columns required by schema version 2.

ยงErrors

Returns an error for an unsupported backend, missing or incompatible migration markers, tables, constraints or indexes, or failed catalog reads.