1
2
3
4
5
6
7
8
9
10
11
12
13
pub mod m20230718_141525_create_tables;

use async_trait::async_trait;
pub use sea_orm_migration::prelude::*;

pub struct Migrator;

#[async_trait]
impl MigratorTrait for Migrator {
    fn migrations() -> Vec<Box<dyn MigrationTrait>> {
        vec![Box::new(m20230718_141525_create_tables::Migration)]
    }
}