X-Git-Url: http://git.euphorik.ch/?a=blobdiff_plain;ds=sidebyside;f=backend%2Fsrc%2Fdata%2Fdb.rs;fp=backend%2Fsrc%2Fdata%2Fdb.rs;h=036d044139cda1c56bd86e4b4a7f6a9998cb25c7;hb=3f8d940c14a1cfe10e4b923b9c6ce7bff0913e7a;hp=0358d20ab9b1ed05a022568cafc35dbe5290fab8;hpb=cc2e5b6893b582b4b5c4e7a93e914a189f6a959b;p=recipes.git diff --git a/backend/src/data/db.rs b/backend/src/data/db.rs index 0358d20..036d044 100644 --- a/backend/src/data/db.rs +++ b/backend/src/data/db.rs @@ -13,9 +13,9 @@ use rand::distributions::{Alphanumeric, DistString}; use rusqlite::{named_params, params, OptionalExtension, Params}; use crate::{ + consts, hash::{hash, verify_password}, model, - consts, }; const CURRENT_DB_VERSION: u32 = 1;