2023-04-02 17:06:16 +00:00
|
|
|
pub use sea_orm_migration::prelude::*;
|
|
|
|
|
|
|
|
pub struct Migrator;
|
|
|
|
|
|
|
|
pub mod m20230402_162601_create_table_users;
|
2023-04-02 19:25:52 +00:00
|
|
|
pub mod m20230402_183515_create_table_magic_links;
|
2023-04-02 23:12:08 +00:00
|
|
|
pub mod m20230402_213712_create_table_session_tokens;
|
2023-04-03 00:57:33 +00:00
|
|
|
pub mod m20230402_232316_create_table_organizations;
|
|
|
|
pub mod m20230402_232323_create_table_networks;
|
|
|
|
pub mod m20230402_233043_create_table_api_keys;
|
|
|
|
pub mod m20230402_233047_create_table_api_keys_scopes;
|
|
|
|
mod m20230402_234025_create_table_totp_authenticators;
|
|
|
|
mod m20230403_002256_create_table_auth_tokens;
|
2023-04-02 17:06:16 +00:00
|
|
|
|
|
|
|
#[async_trait::async_trait]
|
|
|
|
impl MigratorTrait for Migrator {
|
|
|
|
fn migrations() -> Vec<Box<dyn MigrationTrait>> {
|
|
|
|
vec![
|
2023-04-02 19:25:52 +00:00
|
|
|
Box::new(m20230402_162601_create_table_users::Migration),
|
|
|
|
Box::new(m20230402_183515_create_table_magic_links::Migration),
|
2023-04-02 23:12:08 +00:00
|
|
|
Box::new(m20230402_213712_create_table_session_tokens::Migration),
|
2023-04-03 00:57:33 +00:00
|
|
|
Box::new(m20230402_232316_create_table_organizations::Migration),
|
|
|
|
Box::new(m20230402_232323_create_table_networks::Migration),
|
|
|
|
Box::new(m20230402_233043_create_table_api_keys::Migration),
|
|
|
|
Box::new(m20230402_233047_create_table_api_keys_scopes::Migration),
|
|
|
|
Box::new(m20230402_234025_create_table_totp_authenticators::Migration),
|
|
|
|
Box::new(m20230403_002256_create_table_auth_tokens::Migration),
|
2023-04-02 17:06:16 +00:00
|
|
|
]
|
|
|
|
}
|
|
|
|
}
|