mirror of
https://github.com/clowzed/sero
synced 2024-05-23 01:32:13 +02:00
21 lines
615 B
Rust
21 lines
615 B
Rust
pub use sea_orm_migration::prelude::*;
|
|
|
|
mod m20230927_162921_create_users;
|
|
mod m20230929_081415_create_subdomains;
|
|
mod m20230929_152215_create_files;
|
|
mod m20231105_171000_create_cors;
|
|
|
|
pub struct Migrator;
|
|
|
|
#[async_trait::async_trait]
|
|
impl MigratorTrait for Migrator {
|
|
fn migrations() -> Vec<Box<dyn MigrationTrait>> {
|
|
vec![
|
|
Box::new(m20230927_162921_create_users::Migration),
|
|
Box::new(m20230929_081415_create_subdomains::Migration),
|
|
Box::new(m20230929_152215_create_files::Migration),
|
|
Box::new(m20231105_171000_create_cors::Migration),
|
|
]
|
|
}
|
|
}
|