calckey/packages/backend/native-utils/migration/src/lib.rs

13 lines
287 B
Rust
Raw Normal View History

2023-05-31 22:12:59 +00:00
pub use sea_orm_migration::prelude::*;
2023-06-01 16:32:15 +00:00
mod m20230531_180824_drop_reversi;
2023-05-31 22:12:59 +00:00
pub struct Migrator;
#[async_trait::async_trait]
impl MigratorTrait for Migrator {
fn migrations() -> Vec<Box<dyn MigrationTrait>> {
2023-06-01 16:32:15 +00:00
vec![Box::new(m20230531_180824_drop_reversi::Migration)]
2023-05-31 22:12:59 +00:00
}
}