~starkingdoms/starkingdoms

ref: 7a460d3cb9e24fdecd3c4ca8f79758071b1c6afc starkingdoms/api/starkingdoms_api_migration/src/lib.rs -rw-r--r-- 586 bytes
7a460d3c — core remove old builder dockerfile, move new ones into folder 2 years ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
pub use sea_orm_migration::prelude::*;

pub mod m20230417_162824_create_table_users;
pub mod m20230417_164240_create_table_user_auth_realms;
pub mod m20230420_144333_create_table_user_data;

pub struct Migrator;

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