pub async fn is_verification_info_migration_performed(&mut self) -> DalResult<bool> {
        let row = sqlx::query!(
            r#"
            SELECT
                (SELECT COUNT(*) FROM contracts_verification_info) AS count_v1,
                (SELECT COUNT(*) FROM contract_verification_info_v2) AS count_v2
            "#,
        )
        .instrument("is_verification_info_migration_performed")
        .fetch_one(self.storage)
        .await?;

        Ok(row.count_v2 >= row.count_v1)
    }
Checks if migration from `contracts_verification_info` to `contract_verification_info_v2` is performed
by checking if the latter has more or equal number of rows.
core/lib/dal/src/contract_verification_dal.rs