MCPcopy Create free account
hub / github.com/clockworklabs/SpacetimeDB / manual_migrate_database

Function manual_migrate_database

crates/engine/src/update.rs:156–163  ·  view source on GitHub ↗

Manually migrate a database.

(
    _stdb: &RelationalDB,
    _tx: &mut MutTxId,
    _plan: ManualMigratePlan,
    _logger: &dyn UpdateLogger,
)

Source from the content-addressed store, hash-verified

154
155/// Manually migrate a database.
156fn manual_migrate_database(
157 _stdb: &RelationalDB,
158 _tx: &mut MutTxId,
159 _plan: ManualMigratePlan,
160 _logger: &dyn UpdateLogger,
161) -> anyhow::Result<UpdateResult> {
162 unimplemented!("Manual database migrations are not yet implemented")
163}
164
165/// Logs with `info` level to `$logger` as well as via the `log` crate.
166macro_rules! log {

Callers 1

update_databaseFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…