MCPcopy Create free account
hub / github.com/Botloader/botloader / run_migrations

Method run_migrations

components/stores/src/lib.rs:35–38  ·  view source on GitHub ↗

Applies any pending migrations, the migration files are embedded in the binary.

(&self)

Source from the content-addressed store, hash-verified

33
34 /// Applies any pending migrations, the migration files are embedded in the binary.
35 pub async fn run_migrations(&self) -> Result<(), anyhow::Error> {
36 sqlx::migrate!().run(&self.pool).await?;
37 Ok(())
38 }
39}

Callers 1

mainFunction · 0.80

Calls 1

runMethod · 0.45

Tested by

no test coverage detected