preview-stack

This commit is contained in:
2025-10-11 11:09:38 +02:00
parent 30f3fe015b
commit 41a9e8f76c
13 changed files with 2088 additions and 287 deletions
+4
View File
@@ -58,6 +58,8 @@ pub struct Document {
pub updated_at: NaiveDateTime,
pub deleted_at: Option<NaiveDateTime>,
pub metadata: serde_json::Value,
pub issued_at: Option<NaiveDateTime>,
pub title: String,
}
#[derive(Debug, Insertable)]
@@ -70,6 +72,8 @@ pub struct NewDocument {
pub folder_id: Option<Uuid>,
pub current_version: i32,
pub metadata: serde_json::Value,
pub issued_at: Option<NaiveDateTime>,
pub title: String,
}
#[derive(Debug, Clone, Queryable, Identifiable, Associations)]