Files
OutFleet/src/database/migrations/mod.rs

42 lines
2.1 KiB
Rust
Raw Normal View History

2025-09-18 02:56:59 +03:00
use sea_orm_migration::prelude::*;
mod m20241201_000001_create_users_table;
mod m20241201_000002_create_certificates_table;
mod m20241201_000003_create_inbound_templates_table;
mod m20241201_000004_create_servers_table;
mod m20241201_000005_create_server_inbounds_table;
mod m20241201_000006_create_user_access_table;
mod m20241201_000007_create_inbound_users_table;
2025-09-19 18:30:50 +03:00
mod m20250919_000001_update_inbound_users_schema;
2025-09-23 14:17:32 +01:00
mod m20250922_000001_add_grpc_hostname_to_servers;
2025-09-24 00:30:03 +01:00
mod m20250923_000001_create_dns_providers_table;
2025-10-18 15:49:49 +03:00
mod m20250929_000001_create_telegram_config_table;
mod m20250929_000002_add_telegram_admin_to_users;
2025-10-19 04:13:36 +03:00
mod m20251018_000001_create_user_requests_table;
mod m20251018_000002_remove_unique_telegram_id;
mod m20251018_000003_add_language_to_user_requests;
2025-09-18 02:56:59 +03:00
pub struct Migrator;
#[async_trait::async_trait]
impl MigratorTrait for Migrator {
fn migrations() -> Vec<Box<dyn MigrationTrait>> {
vec![
Box::new(m20241201_000001_create_users_table::Migration),
Box::new(m20241201_000002_create_certificates_table::Migration),
Box::new(m20241201_000003_create_inbound_templates_table::Migration),
Box::new(m20241201_000004_create_servers_table::Migration),
Box::new(m20241201_000005_create_server_inbounds_table::Migration),
Box::new(m20241201_000006_create_user_access_table::Migration),
Box::new(m20241201_000007_create_inbound_users_table::Migration),
2025-09-19 18:30:50 +03:00
Box::new(m20250919_000001_update_inbound_users_schema::Migration),
2025-09-23 14:17:32 +01:00
Box::new(m20250922_000001_add_grpc_hostname_to_servers::Migration),
2025-09-24 00:30:03 +01:00
Box::new(m20250923_000001_create_dns_providers_table::Migration),
2025-10-18 15:49:49 +03:00
Box::new(m20250929_000001_create_telegram_config_table::Migration),
Box::new(m20250929_000002_add_telegram_admin_to_users::Migration),
2025-10-19 04:13:36 +03:00
Box::new(m20251018_000001_create_user_requests_table::Migration),
Box::new(m20251018_000002_remove_unique_telegram_id::Migration),
Box::new(m20251018_000003_add_language_to_user_requests::Migration),
2025-09-18 02:56:59 +03:00
]
}
}