pub trait ContractStateMigrations: Send + Sync {
    // Required method
    fn migrations(&self) -> Vec<&'static str>;

    // Provided methods
    fn get_table_names(&self) -> Vec<String> { ... }
    fn get_migrations(&self) -> Vec<String> { ... }
    fn get_reset_migrations(&self) -> Vec<String> { ... }
}

Required Methods§

source

fn migrations(&self) -> Vec<&'static str>

Provided Methods§

Implementors§