trifid/trifid-api/trifid_api_migration/src/lib.rs

15 lines
325 B
Rust
Raw Normal View History

2023-04-02 17:06:16 +00:00
pub use sea_orm_migration::prelude::*;
pub struct Migrator;
pub mod m20230402_162601_create_table_users;
#[async_trait::async_trait]
impl MigratorTrait for Migrator {
fn migrations() -> Vec<Box<dyn MigrationTrait>> {
vec![
Box::new(m20230402_162601_create_table_users::Migration)
]
}
}