27 lines
906 B
Rust
27 lines
906 B
Rust
pub use sea_orm_migration::prelude::*;
|
|
|
|
mod m20240322_000001_create_table;
|
|
mod m20240505_130850_add_collection;
|
|
mod m20240709_130914_watch_later;
|
|
mod m20240724_161008_submission;
|
|
mod m20250122_062926_add_latest_row_at;
|
|
mod m20250612_090826_add_enabled;
|
|
mod m20250613_043257_add_config;
|
|
|
|
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),
|
|
Box::new(m20240724_161008_submission::Migration),
|
|
Box::new(m20250122_062926_add_latest_row_at::Migration),
|
|
Box::new(m20250612_090826_add_enabled::Migration),
|
|
Box::new(m20250613_043257_add_config::Migration),
|
|
]
|
|
}
|
|
}
|