diff --git a/.gitignore b/.gitignore index dbc294b..c2d0ed8 100644 --- a/.gitignore +++ b/.gitignore @@ -13,6 +13,7 @@ Cargo.lock # MSVC Windows builds of rustc generate these, which store debugging information *.pdb +/.vs diff --git a/src/start_db.rs b/src/start_db.rs index 9084ceb..494bd57 100644 --- a/src/start_db.rs +++ b/src/start_db.rs @@ -1,3 +1,4 @@ +use log::info; use sea_orm::{ConnectOptions, ConnectionTrait, Database, DatabaseConnection}; use std::error::Error; use sea_orm::Schema; @@ -17,7 +18,7 @@ impl Starter { let schema = Schema::new(backend); let table_create_statement = schema.create_table_from_entity(super::word_entity::Entity); let table_create_result = self.conn.execute(backend.build(&table_create_statement)).await?; - println!("{:?}",table_create_result); + info!("{:?}",table_create_result); Ok(()) } }