diesel instead of sea-orm

sea-orm was getting to be bigger hassle I think and harder to compile,
diesel seems simple and effective enough.
This commit is contained in:
Chris Cochrun 2023-04-04 14:29:14 -05:00
parent d308bd33b2
commit 37a2dbd986
12 changed files with 165 additions and 1766 deletions

View file

@ -12,8 +12,6 @@
// assert_eq!(result, 4);
// }
// }
const DATABASE_URL: &str = "sqlite://library-db.sqlite3";
const DB_NAME: &str = "library_db";
// mod my_object;
mod file_helper;
@ -22,5 +20,7 @@ mod settings;
mod slide_obj;
mod slide_model;
mod image_model;
mod entities;
mod models;
mod schema;
// mod entities;
// mod video_thumbnail;