This commit is contained in:
2026-02-21 10:39:52 +01:00
parent f7c975a3f0
commit 66c1fe0025
38 changed files with 1543 additions and 616 deletions

View File

@@ -13,8 +13,8 @@ pub struct Model {
pub user_id: Uuid,
#[sea_orm(column_type = "Text")]
pub content: String,
pub created_at: DateTime,
pub edited_at: Option<DateTime>,
pub created_at: DateTimeUtc,
pub updated_at: Option<DateTimeUtc>,
pub reply_to_id: Option<Uuid>,
}
@@ -74,4 +74,4 @@ impl ActiveModelBehavior for ActiveModel {
..ActiveModelTrait::default()
}
}
}
}