You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: sync.rs
    path of file: ./repos/refinery/refinery_core/src/traits
    
    the code of the file until where you have to start completion: use crate::error::WrapMigrationError;
use crate::traits::{
    insert_migration_query, verify_migrations, ASSERT_MIGRATIONS_TABLE_QUERY,
    GET_APPLIED_MIGRATIONS_QUERY, GET_LAST_APPLIED_MIGRATION_QUERY,
};
use cra
    
    fn assert_migrations_table(&mut self, migration_table_name: &str) -> Result<usize, Error> {
        // Needed cause some database vendors like Mssql have a non sql standard way of checking the migrations table,
        // thou on this case it's just to be consistent with the async trait `AsyncMigrate`
        self.execute(&[ASSERT_MIGRATIONS_TABLE_QUERY
            .replace("%MIGRATION_TABLE_NAME%", migration_table_name)
            .as_str()])
            .migration_err("error asserting migrations table", None)
    }