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

8
src/rust/models.rs Normal file
View file

@ -0,0 +1,8 @@
use diesel::prelude::*;
#[derive(Queryable)]
pub struct Image {
pub id: i32,
pub title: String,
pub path: String,
}