change println! to info!
This commit is contained in:
parent
2279448436
commit
07fd43fb5f
1
.gitignore
vendored
1
.gitignore
vendored
@ -13,6 +13,7 @@ Cargo.lock
|
||||
|
||||
# MSVC Windows builds of rustc generate these, which store debugging information
|
||||
*.pdb
|
||||
/.vs
|
||||
|
||||
|
||||
|
||||
|
@ -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(())
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user