iceshrimp-161sh/packages/backend/native-utils/crates/migration/src/lib.rs

13 lines
281 B
Rust
Raw Normal View History

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