chore: 数据已迁到 SQLite,删掉 Postgres 迁移脚本、webpreview-db 服务和迁移文档
Deploy / deploy (build, debian, 22) (push) Canceled after 0s

school 服务器以后要切换时,从 cdeb7c1 里找回(deploy.yaml 里写了)。
备份方法挪到 CLAUDE.md。

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
xuyueandClaude Opus 5.5 committed 2026-10-26 21:36:33 +08:00
1 parent cdeb7c18ef
commit dc91b9b5db
5 files changed
+5 -225

No files matched your search

-13
View File
@@ -23,16 +23,3 @@ services:
- ./sqlite:/app/data
- ./media:/app/media
restart: unless-stopped
# 只在从旧版 Postgres 迁移数据时使用:
# docker compose --profile migrate up -d webpreview-db
# docker compose run --rm webpreview-api bun scripts/migrate-from-postgres.ts
webpreview-db:
image: postgres:17-alpine
container_name: webpreview-db
profiles: ["migrate"]
volumes:
- ./data:/var/lib/postgresql/data
env_file:
- .env
restart: "no"