Skip to main content

diff_sqlite_schema

Function diff_sqlite_schema 

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

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