feat(storage): add delete_href method to remove files and clean up empty directories
Build and Push Reader API Image / docker (push) Successful in 26s

chore(docker): remove MongoDB service and related configurations from local setup

feat(migrations): create ChapterMeta table and add search_name, size_bytes, mtime_epoch, lastScannedAt, review_status, and review_payload columns to SourceAsset

chore(dependencies): remove motor and pymongo from project dependencies
This commit is contained in:
2026-05-03 20:57:29 +07:00
parent 6b927f20e1
commit 1b1217ace2
12 changed files with 3346 additions and 252 deletions
+11
View File
@@ -0,0 +1,11 @@
CREATE TABLE IF NOT EXISTS "ChapterMeta" (
id TEXT PRIMARY KEY,
"novelId" TEXT NOT NULL,
number INT NOT NULL,
title TEXT,
views INT NOT NULL DEFAULT 0,
"createdAt" TIMESTAMPTZ,
UNIQUE("novelId", number)
);
CREATE INDEX IF NOT EXISTS "ChapterMeta_novel_number_idx" ON "ChapterMeta"("novelId", number);