1
0
Fork 0
mirror of https://codeberg.org/tyy/aspm synced 2025-01-25 12:55:46 -07:00
aspm/crates/migrations/src/lib.rs

17 lines
429 B
Rust

mod m20230701_000001_create_keys_table;
mod m20242801_000002_create_profiles_table;
use sea_orm_migration::prelude::*;
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),
]
}
}