Fix SQLite to PostgreSQL media migration

This commit is contained in:
ShukeBta
2026-06-15 22:11:58 +08:00
parent 713fc6ec1e
commit 61949c1e1c
5 changed files with 246 additions and 8 deletions
+2
View File
@@ -160,6 +160,8 @@ docker compose logs -f mediastation-go
如果你确认以后不再使用 SQLite,也不希望应用再把旧 SQLite 当迁移源,可以这样做:
> 只有在网页确认用户、媒体库、设置、媒体条目都已经出现在 PostgreSQL 后,才做下面这一步。
```yaml
environment:
MEDIASTATION_DATABASE_TYPE: postgres