web3-proxy/migration/src/lib.rs
Bryan Stitt 8481f6d44c wip
2022-09-21 23:50:55 +00:00

17 lines
407 B
Rust

pub use sea_orm_migration::prelude::*;
mod m20220101_000001_create_table;
mod m20220921_181610_log_reverts;
pub struct Migrator;
#[async_trait::async_trait]
impl MigratorTrait for Migrator {
fn migrations() -> Vec<Box<dyn MigrationTrait>> {
vec![
Box::new(m20220101_000001_create_table::Migration),
Box::new(m20220921_181610_log_reverts::Migration),
]
}
}