~starkingdoms/starkingdoms

ref: 1b4d868e7ed43b913d8daee7f71ff0bc038bebf4 starkingdoms/api/starkingdoms_api_migration/src/lib.rs -rw-r--r-- 586 bytes
1b4d868e — core fix! change api and game urls (this should be the final in the flurry of commits i have pushed recently) 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),
        ]
    }
}