mirror of
https://github.com/moghtech/komodo.git
synced 2026-09-08 16:01:18 +00:00
23 lines
321 B
Rust
23 lines
321 B
Rust
#![allow(unused)]
|
|
#[macro_use]
|
|
extern crate tracing;
|
|
|
|
use crate::state::State;
|
|
|
|
mod legacy;
|
|
mod migrate;
|
|
mod state;
|
|
|
|
#[tokio::main]
|
|
async fn main() -> anyhow::Result<()> {
|
|
logger::init(&Default::default())?;
|
|
|
|
info!("starting migrator");
|
|
|
|
let state = State::load().await?;
|
|
|
|
state.migrate_all().await?;
|
|
|
|
Ok(())
|
|
}
|