web3-proxy/migration/src/lib.rs

51 lines
2.2 KiB
Rust
Raw Normal View History

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-10-28 09:38:21 +03:00
mod m20221027_002407_user_tiers;
2022-11-01 21:54:39 +03:00
mod m20221031_211916_clean_up;
2022-11-03 02:14:16 +03:00
mod m20221101_222349_archive_request;
mod m20221108_200345_save_anon_stats;
2022-12-12 07:39:54 +03:00
mod m20221211_124002_request_method_privacy;
2022-12-14 05:13:23 +03:00
mod m20221213_134158_move_login_into_database;
2023-01-17 21:55:54 +03:00
mod m20230117_191358_admin_table;
mod m20230119_204135_better_free_tier;
2023-04-20 00:42:40 +03:00
mod m20230125_204810_stats_v2;
mod m20230130_124740_read_only_login_logic;
mod m20230130_165144_prepare_admin_imitation_pre_login;
2023-02-15 18:12:21 +03:00
mod m20230215_152254_admin_trail;
2023-04-20 00:42:40 +03:00
mod m20230307_002623_migrate_rpc_accounting_to_rpc_accounting_v2;
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>> {
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-10-28 09:38:21 +03:00
Box::new(m20221027_002407_user_tiers::Migration),
2022-11-01 21:54:39 +03:00
Box::new(m20221031_211916_clean_up::Migration),
2022-11-03 02:14:16 +03:00
Box::new(m20221101_222349_archive_request::Migration),
Box::new(m20221108_200345_save_anon_stats::Migration),
2022-12-12 07:39:54 +03:00
Box::new(m20221211_124002_request_method_privacy::Migration),
2022-12-14 05:13:23 +03:00
Box::new(m20221213_134158_move_login_into_database::Migration),
2023-01-17 21:55:54 +03:00
Box::new(m20230117_191358_admin_table::Migration),
Box::new(m20230119_204135_better_free_tier::Migration),
2023-04-20 00:42:40 +03:00
Box::new(m20230125_204810_stats_v2::Migration),
Box::new(m20230130_124740_read_only_login_logic::Migration),
Box::new(m20230130_165144_prepare_admin_imitation_pre_login::Migration),
2023-02-15 18:12:21 +03:00
Box::new(m20230215_152254_admin_trail::Migration),
2023-04-20 00:42:40 +03:00
Box::new(m20230307_002623_migrate_rpc_accounting_to_rpc_accounting_v2::Migration),
]
2022-07-26 07:53:38 +03:00
}
}