used the crate extern

pull/1/head
kirbylife 2019-12-15 19:11:12 -06:00
parent b57c71842d
commit 279c236401
1 changed files with 4 additions and 4 deletions

View File

@ -3,12 +3,12 @@ pub mod models;
#[path = "schema.rs"]
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::result::Error;
use diesel::Connection;
use diesel::ExpressionMethods;
use diesel::QueryDsl;
use diesel::RunQueryDsl;
use dotenv::dotenv;
use std::env;
use std::vec::Vec;