The home for Hyperlane core contracts, sdk packages, and other infrastructure
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
hyperlane-monorepo/rust/main/agents/scraper/migration/bin/fresh.rs

14 lines
219 B

//! Initialize a new, empty database using the migrations.
use common::*;
mod common;
#[tokio::main]
async fn main() -> Result<(), DbErr> {
let db = init().await?;
Migrator::fresh(&db).await?;
Ok(())
}