Fix: Postgres selection, DBENGINE and migrations (#12299)

This commit is contained in:
Trenton H
2026-03-11 11:54:24 -07:00
committed by GitHub
parent b7b9e83f37
commit 86fa74c115
25 changed files with 41 additions and 49 deletions
-1
View File
@@ -209,7 +209,6 @@ def parse_db_settings(data_dir: Path) -> dict[str, dict[str, Any]]:
engine = get_choice_from_env(
"PAPERLESS_DBENGINE",
{"sqlite", "postgresql", "mariadb"},
default="sqlite",
)
except ValueError:
# MariaDB users already had to set PAPERLESS_DBENGINE, so it was picked up above