2023-06-01 00:12:59 +02:00
|
|
|
pub use sea_orm_migration::prelude::*;
|
|
|
|
|
2023-06-01 18:32:15 +02:00
|
|
|
mod m20230531_180824_drop_reversi;
|
2023-06-27 21:34:30 +02:00
|
|
|
mod m20230627_185451_index_note_url;
|
2023-07-10 07:39:33 +02:00
|
|
|
mod m20230709_000510_move_antenna_to_cache;
|
2023-06-01 00:12:59 +02:00
|
|
|
|
|
|
|
pub struct Migrator;
|
|
|
|
|
|
|
|
#[async_trait::async_trait]
|
|
|
|
impl MigratorTrait for Migrator {
|
|
|
|
fn migrations() -> Vec<Box<dyn MigrationTrait>> {
|
2023-06-27 21:34:30 +02:00
|
|
|
vec![
|
|
|
|
Box::new(m20230531_180824_drop_reversi::Migration),
|
|
|
|
Box::new(m20230627_185451_index_note_url::Migration),
|
2023-07-10 07:39:33 +02:00
|
|
|
Box::new(m20230709_000510_move_antenna_to_cache::Migration),
|
2023-06-27 21:34:30 +02:00
|
|
|
]
|
2023-06-01 00:12:59 +02:00
|
|
|
}
|
|
|
|
}
|