Trait ockam_node::storage::database::MigrationSet
source · pub trait MigrationSet {
// Required method
fn create_migrator(&self) -> Result<Migrator>;
}Expand description
This trait runs migrations on a given database
Required Methods§
sourcefn create_migrator(&self) -> Result<Migrator>
fn create_migrator(&self) -> Result<Migrator>
Migrate the content of a database: schema and or data