mirror of
https://github.com/EasyTier/EasyTier.git
synced 2026-05-13 17:35:37 +00:00
17 lines
415 B
Rust
17 lines
415 B
Rust
use sea_orm_migration::prelude::*;
|
|
|
|
mod m20250101_000001_create_tables;
|
|
mod m20250101_000002_create_node_tags;
|
|
|
|
pub struct Migrator;
|
|
|
|
#[async_trait::async_trait]
|
|
impl MigratorTrait for Migrator {
|
|
fn migrations() -> Vec<Box<dyn MigrationTrait>> {
|
|
vec![
|
|
Box::new(m20250101_000001_create_tables::Migration),
|
|
Box::new(m20250101_000002_create_node_tags::Migration),
|
|
]
|
|
}
|
|
}
|