feat(webui): show comments count badge in file card preview area (#403)

* feat(webui): show comments count badge in file card preview area

* perf(db): add index on asset_comments asset_id
This commit is contained in:
Yiling-J
2026-09-13 21:12:21 +08:00
committed by GitHub
parent 87e88396d1
commit 7d56b5bf90
8 changed files with 288 additions and 3 deletions
@@ -0,0 +1,2 @@
-- CreateIndex
CREATE INDEX "asset_comments_asset_id_idx" ON "asset_comments"("asset_id");
+1
View File
@@ -657,6 +657,7 @@ model AssetComment {
attachments AssetCommentAttachment[] @relation("CommentToAttachment")
@@index([assetId])
@@map("asset_comments")
}
File diff suppressed because one or more lines are too long