used the crate extern
parent
b57c71842d
commit
279c236401
|
@ -3,12 +3,12 @@ pub mod models;
|
||||||
#[path = "schema.rs"]
|
#[path = "schema.rs"]
|
||||||
pub mod schema;
|
pub mod schema;
|
||||||
|
|
||||||
use crate::diesel::Connection;
|
|
||||||
use crate::diesel::ExpressionMethods;
|
|
||||||
use crate::diesel::QueryDsl;
|
|
||||||
use crate::diesel::RunQueryDsl;
|
|
||||||
use diesel::pg::PgConnection;
|
use diesel::pg::PgConnection;
|
||||||
use diesel::result::Error;
|
use diesel::result::Error;
|
||||||
|
use diesel::Connection;
|
||||||
|
use diesel::ExpressionMethods;
|
||||||
|
use diesel::QueryDsl;
|
||||||
|
use diesel::RunQueryDsl;
|
||||||
use dotenv::dotenv;
|
use dotenv::dotenv;
|
||||||
use std::env;
|
use std::env;
|
||||||
use std::vec::Vec;
|
use std::vec::Vec;
|
||||||
|
|
Loading…
Reference in New Issue