1
0
Fork 0
mirror of https://codeberg.org/tyy/aspm synced 2025-02-04 03:09:20 -07:00
aspm/crates/migrations/src/lib.rs

18 lines
429 B
Rust
Raw Normal View History

mod m20230701_000001_create_keys_table;
mod m20242801_000002_create_profiles_table;
use sea_orm_migration::prelude::*;
2024-02-18 22:55:29 -07:00
pub use sea_orm_migration::{MigratorTrait, SchemaManager};
pub struct Migrator;
impl MigratorTrait for Migrator {
fn migrations() -> Vec<Box<dyn MigrationTrait>> {
vec![
Box::new(m20230701_000001_create_keys_table::Migration),
Box::new(m20242801_000002_create_profiles_table::Migration),
]
}
}