advotrackerdb: update use reference after structure update
* binaries: reference advotrackerdb, not crate Signed-off-by: Ralf Zerres <ralf.zerres@networkx.de>
This commit is contained in:
@@ -6,7 +6,7 @@
|
||||
*/
|
||||
|
||||
fn main() {
|
||||
use crate::{
|
||||
use advotrackerdb::{
|
||||
functions::db_connection::establish_connection,
|
||||
models::harms::Harm,
|
||||
};
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
fn main() {
|
||||
use diesel::RunQueryDsl;
|
||||
|
||||
use crate::{
|
||||
use advotrackerdb::{
|
||||
functions::db_connection::establish_connection,
|
||||
models::roles::Role,
|
||||
schema::roles::dsl::*,
|
||||
|
||||
@@ -7,9 +7,9 @@
|
||||
|
||||
fn main() {
|
||||
|
||||
use crate::{
|
||||
use advotrackerdb::{
|
||||
functions::db_connection::establish_connection,
|
||||
models::users::User;
|
||||
models::users::User,
|
||||
};
|
||||
|
||||
let connection = establish_connection();
|
||||
|
||||
@@ -9,7 +9,7 @@ fn main() {
|
||||
use chrono::Local;
|
||||
use std::io::{stdin, Read};
|
||||
|
||||
use crate::{
|
||||
use advotrackerdb::{
|
||||
functions::db_connection::*,
|
||||
models::harms::Harm,
|
||||
};
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
fn main() {
|
||||
use std::io::{stdin, Read};
|
||||
|
||||
use crate::{
|
||||
use advotrackerdb::{
|
||||
functions::db_connection::*,
|
||||
models::roles::Role,
|
||||
};
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
fn main() {
|
||||
use std::io::{stdin, Read};
|
||||
|
||||
use crate::{
|
||||
use advotrackerdb::{
|
||||
functions::db_connection::*,
|
||||
models::users::User,
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user