pique/_experiments/2024-03-02-database-benchmark/migration/src/lib.rs

13 lines
289 B
Rust
Raw Permalink Normal View History

pub use sea_orm_migration::prelude::*;
mod m20240307_110706_create_tables;
pub struct Migrator;
#[async_trait::async_trait]
impl MigratorTrait for Migrator {
fn migrations() -> Vec<Box<dyn MigrationTrait>> {
vec![Box::new(m20240307_110706_create_tables::Migration)]
}
}