15 lines
310 B
Rust
15 lines
310 B
Rust
|
pub use sea_orm_migration::prelude::*;
|
||
|
|
||
|
mod m20241106_212353_create_table;
|
||
|
|
||
|
pub struct Migrator;
|
||
|
|
||
|
#[async_trait::async_trait]
|
||
|
impl MigratorTrait for Migrator {
|
||
|
fn migrations() -> Vec<Box<dyn MigrationTrait>> {
|
||
|
vec![
|
||
|
Box::new(m20241106_212353_create_table::Migration),
|
||
|
]
|
||
|
}
|
||
|
}
|