* feat: 为各个 video list 表添加 latest_row_at 字段 * chore: 为 model 引入新增的字段 * feat: 实现新版中断条件(待测试) * test: 更新测试
23 lines
714 B
Rust
23 lines
714 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;
|
|
|
|
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),
|
|
]
|
|
}
|
|
}
|