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§

source

fn create_nodes_migration() -> &'static [&'static str]

source

fn create_contract_addresses_migration() -> &'static [&'static str]

source

fn drop_contract_addresses_migration() -> &'static [&'static str]

source

fn create_events_migration() -> &'static [&'static str]

source

fn drop_events_migration() -> &'static [&'static str]

source

fn create_reset_counts_migration() -> &'static [&'static str]

source

fn create_reorged_blocks_migration() -> &'static [&'static str]

source

fn drop_reorged_blocks_migration() -> &'static [&'static str]

Provided Methods§

Object Safety§

This trait is not object safe.

Implementors§