webrtc_chat_app/backend/migration/src/lib.rs
2023-06-04 17:46:19 +02:00

17 lines
495 B
Rust

pub use sea_orm_migration::prelude::*;
//❗ After creating a new migration file, remove the sample migration below 👇
mod m20220101_000001_create_todo_table;
pub struct Migrator;
#[async_trait::async_trait]
impl MigratorTrait for Migrator {
fn migrations() -> Vec<Box<dyn MigrationTrait>> {
vec![
//❗ After creating a new migration file, remove the sample migration below 👇
Box::new(m20220101_000001_create_todo_table::Migration)
]
}
}