Skip to main content

diff_mysql_schema

Function diff_mysql_schema 

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

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