Fergus b6739915b7
Add salvo example (#908)
* Add salvo example

* cargo clippy

* bug fix
2022-07-26 14:47:12 +08:00

13 lines
297 B
Rust

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