Function validate_database

Source
pub fn validate_database(
    database_tables: &Vec<(String, Vec<TableInfo>)>,
    migration_database: &Database,
    validator: &mut Validator,
) -> Result<MigrationState, Error>
Expand description

Validate the database schema

Errors are returned if an issue has occured, not if the database is out of date