Made migration binary use tokio instead of async-std to reduce the amount of dependencies

This commit is contained in:
2023-05-07 14:32:17 +03:00
parent 8d68cb5b2b
commit bc08ebed03
4 changed files with 8 additions and 306 deletions

View File

@ -1,6 +1,6 @@
use sea_orm_migration::prelude::*;
#[async_std::main]
#[tokio::main(flavor = "current_thread")]
async fn main() {
cli::run_cli(migration::Migrator).await;
}