diesel working

This commit is contained in:
2026-04-12 19:39:57 +02:00
parent 23ccd3f793
commit 5a37834d4e
8 changed files with 106 additions and 5 deletions

15
src/schema.rs Normal file
View File

@ -0,0 +1,15 @@
// @generated automatically by Diesel CLI.
diesel::table! {
file (id) {
id -> Int8,
created_at -> Timestamp,
downloads -> Int8,
#[max_length = 255]
filename -> Varchar,
file_size -> Int8,
#[max_length = 30]
stored_filename -> Varchar,
deleted -> Bool,
}
}