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