Trait chaindexing::RepoMigrations
source · pub trait RepoMigrations: Migratable {
// Required methods
fn create_nodes_migration() -> &'static [&'static str];
fn create_contract_addresses_migration() -> &'static [&'static str];
fn drop_contract_addresses_migration() -> &'static [&'static str];
fn create_events_migration() -> &'static [&'static str];
fn drop_events_migration() -> &'static [&'static str];
fn create_reset_counts_migration() -> &'static [&'static str];
fn create_reorged_blocks_migration() -> &'static [&'static str];
fn drop_reorged_blocks_migration() -> &'static [&'static str];
// Provided methods
fn get_internal_migrations() -> Vec<&'static str> { ... }
fn get_reset_internal_migrations() -> Vec<&'static str> { ... }
}Required Methods§
fn create_nodes_migration() -> &'static [&'static str]
fn create_contract_addresses_migration() -> &'static [&'static str]
fn drop_contract_addresses_migration() -> &'static [&'static str]
fn create_events_migration() -> &'static [&'static str]
fn drop_events_migration() -> &'static [&'static str]
fn create_reset_counts_migration() -> &'static [&'static str]
fn create_reorged_blocks_migration() -> &'static [&'static str]
fn drop_reorged_blocks_migration() -> &'static [&'static str]
Provided Methods§
fn get_internal_migrations() -> Vec<&'static str>
fn get_reset_internal_migrations() -> Vec<&'static str>
Object Safety§
This trait is not object safe.