This commit is contained in:
2026-08-23 16:02:17 +02:00
parent 8d57310ec6
commit 5e97e9c223
26 changed files with 818 additions and 77 deletions
+5 -2
View File
@@ -10,10 +10,13 @@ use sea_orm::prelude::async_trait::async_trait;
pub struct Model {
#[sea_orm(primary_key, auto_increment = false)]
pub id: Uuid,
pub message_id: Uuid,
pub message_id: Option<Uuid>,
pub channel_id: Uuid,
pub user_id: Uuid,
pub filename: String,
pub file_size: i32,
pub file_size: i64,
pub mime_type: String,
pub file_path: String,
pub created_at: DateTimeUtc,
#[sea_orm(
belongs_to,