web3-proxy/migration/src/lib.rs

13 lines
287 B
Rust
Raw Normal View History

2022-07-26 07:53:38 +03:00
pub use sea_orm_migration::prelude::*;
mod m20220101_000001_create_table;
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)]
}
}