pub async fn migration_to_sql<'a>(
tx: &'a mut Transaction,
db_impl: DBImpl,
migration: &'a Migration,
do_log: bool,
) -> Result<()>Expand description
Helper method to convert a migration to a transaction string
db_impl:DBImpl: The database implementation to use.migration:&Migration: Reference to the migration that should be converted.