Function cquill::migrate_cql
source · pub async fn migrate_cql(
opts: MigrateOpts
) -> Result<Vec<CqlFile>, MigrateError>
Expand description
migrate_cql
performs a migration of all newly added cql scripts in MigrateOpts::cql_dir
since its last invocation. Migrated scripts are tracked in a cquill keyspace and history table
specified with MigrateOpts::history_keyspace and MigrateOpts::history_table. A successful
method result contains a vec of the cql script paths executed during this invocation.