mirror of
https://github.com/4cuck/nitter-status.git
synced 2026-10-27 00:57:39 +00:00
27 lines
894 B
Rust
27 lines
894 B
Rust
pub use sea_orm_migration::prelude::*;
|
|
|
|
mod m20220101_000001_create_table;
|
|
mod m20230729_010231_datetime_rowid;
|
|
mod m20230729_230909_datetime_int_host;
|
|
mod m20230803_154714_version_url;
|
|
mod m20230829_201916_country;
|
|
mod m20230914_231514_connectivity;
|
|
mod m20231011_231223_errors;
|
|
|
|
pub struct Migrator;
|
|
|
|
#[async_trait::async_trait]
|
|
impl MigratorTrait for Migrator {
|
|
fn migrations() -> Vec<Box<dyn MigrationTrait>> {
|
|
vec![
|
|
Box::new(m20220101_000001_create_table::Migration),
|
|
Box::new(m20230729_010231_datetime_rowid::Migration),
|
|
Box::new(m20230729_230909_datetime_int_host::Migration),
|
|
Box::new(m20230803_154714_version_url::Migration),
|
|
Box::new(m20230829_201916_country::Migration),
|
|
Box::new(m20230914_231514_connectivity::Migration),
|
|
Box::new(m20231011_231223_errors::Migration),
|
|
]
|
|
}
|
|
}
|