MCPcopy Create free account
hub / github.com/chatmail/core / execute_migration

Method execute_migration

src/sql/migrations.rs:735–744  ·  view source on GitHub ↗
(&self, query: &str, version: i32)

Source from the content-addressed store, hash-verified

733 }
734
735 async fn execute_migration(&self, query: &str, version: i32) -> Result<()> {
736 self.execute_migration_transaction(
737 |transaction| {
738 transaction.execute_batch(query)?;
739 Ok(())
740 },
741 version,
742 )
743 .await
744 }
745
746 async fn execute_migration_transaction(
747 &self,

Callers 2

runFunction · 0.80
test_clear_config_cacheFunction · 0.80

Calls 1

Tested by 1

test_clear_config_cacheFunction · 0.64