migration/lib.rs
1pub use sea_orm_migration::prelude::*;
2
3mod m20240321_172635_create_store_table;
4mod m20240322_124354_create_password_table;
5
6pub struct Migrator;
7
8#[async_trait::async_trait]
9impl MigratorTrait for Migrator {
10 fn migrations() -> Vec<Box<dyn MigrationTrait>> {
11 vec![
12 Box::new(m20240321_172635_create_store_table::Migration),
13 Box::new(m20240322_124354_create_password_table::Migration),
14 ]
15 }
16}