Skip to main content

diff_postgres_schema

Function diff_postgres_schema 

Source
pub async fn diff_postgres_schema(
    pool: &Pool<Postgres>,
    expected: &[SchemaTable],
) -> Result<SchemaDiff, Error>
Available on crate feature postgres only.
Expand description

Compares the actual PostgreSQL schema with an expected list of tables.