2022-07-26 07:53:38 +03:00
|
|
|
pub use sea_orm_migration::prelude::*;
|
|
|
|
|
2022-09-22 02:50:55 +03:00
|
|
|
mod m20220101_000001_create_table;
|
|
|
|
mod m20220921_181610_log_reverts;
|
2022-09-28 06:35:55 +03:00
|
|
|
mod m20220928_015108_concurrency_limits;
|
2022-10-10 07:15:07 +03:00
|
|
|
mod m20221007_213828_accounting;
|
2022-10-26 00:10:05 +03:00
|
|
|
mod m20221025_210326_add_chain_id_to_reverts;
|
2022-10-27 03:12:42 +03:00
|
|
|
mod m20221026_230819_rename_user_keys;
|
2022-07-26 07:53:38 +03:00
|
|
|
|
|
|
|
pub struct Migrator;
|
|
|
|
|
|
|
|
#[async_trait::async_trait]
|
|
|
|
impl MigratorTrait for Migrator {
|
|
|
|
fn migrations() -> Vec<Box<dyn MigrationTrait>> {
|
2022-09-21 22:54:40 +03:00
|
|
|
vec![
|
|
|
|
Box::new(m20220101_000001_create_table::Migration),
|
|
|
|
Box::new(m20220921_181610_log_reverts::Migration),
|
2022-09-28 06:35:55 +03:00
|
|
|
Box::new(m20220928_015108_concurrency_limits::Migration),
|
2022-10-10 07:15:07 +03:00
|
|
|
Box::new(m20221007_213828_accounting::Migration),
|
2022-10-26 00:10:05 +03:00
|
|
|
Box::new(m20221025_210326_add_chain_id_to_reverts::Migration),
|
2022-10-27 03:12:42 +03:00
|
|
|
Box::new(m20221026_230819_rename_user_keys::Migration),
|
2022-09-21 22:54:40 +03:00
|
|
|
]
|
2022-07-26 07:53:38 +03:00
|
|
|
}
|
|
|
|
}
|