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 @@ After you see `sqlite data migrated to postgres`, or after the web UI shows your
To make the deployment PostgreSQL-only after migration, keep PostgreSQL selected and point the old SQLite migration path at a non-existent file:
> Only do this after the web UI confirms that users, libraries, settings, and media rows are already present in PostgreSQL.
```yaml
environment:
MEDIASTATION_DATABASE_TYPE: postgres