hippofish/packages/backend/native-utils/migration/src/main.rs

12 lines
205 B
Rust
Raw Normal View History

2023-06-01 00:12:59 +02:00
use sea_orm_migration::prelude::*;
2023-06-01 18:32:15 +02:00
mod vec_to_json;
2023-06-01 00:12:59 +02:00
#[async_std::main]
async fn main() {
cli::run_cli(migration::Migrator).await;
2023-06-01 18:32:15 +02:00
#[cfg(feature = "convert")]
vec_to_json::convert().await;
2023-06-01 00:12:59 +02:00
}