Add logging
This commit is contained in:
parent
441d3c28ec
commit
4b6d90d3ce
3 changed files with 273 additions and 174 deletions
|
|
@ -12,6 +12,7 @@ use sea_orm_migration::prelude::*;
|
|||
|
||||
#[launch]
|
||||
async fn rocket_defines_the_main_fn() -> _ {
|
||||
femme::with_level(femme::LevelFilter::Debug);
|
||||
let url = db::connection_url();
|
||||
let db = Database::connect(url).await.expect("db connection");
|
||||
let schema_manager = SchemaManager::new(&db);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue