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

This commit is contained in:
Trenton H authored and GitHub committed 2026-03-11 11:54:24 -07:00
1 parent b7b9e83f37
commit 86fa74c115
25 files changed
+41 -49

No files matched your search

-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