nixin-farm/nixin_farm_ssr/migration/src/lib.rs

22 lines
631 B
Rust
Raw Normal View History

#![allow(elided_lifetimes_in_paths)]
#![allow(clippy::wildcard_imports)]
pub use sea_orm_migration::prelude::*;
mod m20220101_000001_users;
mod m20231103_114510_notes;
mod m20241016_181828_servers;
mod m20241021_121449_bundles;
pub struct Migrator;
#[async_trait::async_trait]
impl MigratorTrait for Migrator {
fn migrations() -> Vec<Box<dyn MigrationTrait>> {
vec![
Box::new(m20220101_000001_users::Migration),
Box::new(m20231103_114510_notes::Migration),
Box::new(m20241016_181828_servers::Migration),
Box::new(m20241021_121449_bundles::Migration),
]
}
}