mirror of
https://github.com/amtoaer/bili-sync.git
synced 2026-06-04 07:09:49 +08:00
29 lines
1.0 KiB
Rust
29 lines
1.0 KiB
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;
|
|
mod m20250712_080013_add_video_created_at_index;
|
|
|
|
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),
|
|
Box::new(m20250712_080013_add_video_created_at_index::Migration),
|
|
]
|
|
}
|
|
}
|