Cleanup based on new version of Diesel

This commit is contained in:
Magnus Hoff 2017-09-17 12:19:48 +02:00
parent 88eda46d95
commit bb334df128
2 changed files with 1 additions and 2 deletions

View file

@ -17,7 +17,7 @@ fn main() {
let _ignore_failure = std::fs::remove_file(db_path);
let connection = diesel::sqlite::SqliteConnection::establish(db_path)
let connection = SqliteConnection::establish(db_path)
.expect(&format!("Error esablishing a database connection to {}", db_path));
// Integer is a dummy placeholder. Compiling fails when passing ().

View file

@ -1,4 +1,3 @@
use diesel::sqlite::SqliteConnection;
use diesel::prelude::*;
use diesel::expression::sql_literal::sql;
use diesel::types::*;