17 lines
453 B
Rust
17 lines
453 B
Rust
pub use sea_orm_migration::prelude::*;
|
|
|
|
pub struct Migrator;
|
|
|
|
pub mod m20230402_162601_create_table_users;
|
|
pub mod m20230402_183515_create_table_magic_links;
|
|
|
|
#[async_trait::async_trait]
|
|
impl MigratorTrait for Migrator {
|
|
fn migrations() -> Vec<Box<dyn MigrationTrait>> {
|
|
vec![
|
|
Box::new(m20230402_162601_create_table_users::Migration),
|
|
Box::new(m20230402_183515_create_table_magic_links::Migration),
|
|
]
|
|
}
|
|
}
|