Let an app name the oldest database server it works with

coreapp.toml's [postgres] or [mysql] min_version: the installer compares
it with the Core's PostgreSQL or MariaDB on install and update, and
refuses an older Core with both versions, instead of the app failing
later. coreapp core reads the versions the same way.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-12-03 20:31:23 -07:00
co-authored by Claude Opus 5.5
parent cf18bef278
commit c60d99baba
7 changed files with 102 additions and 30 deletions
+2 -1
View File
@@ -47,7 +47,8 @@ keep its values and add new ones):
`needs = ["postgres"]` adds `DB_HOST`, `DB_PORT`, `DB_NAME`, `DB_USER` and
`DB_PASSWORD` (`needs = ["mysql"]` the same, for MariaDB; PostgreSQL
extensions only a superuser can make, like vector, go in `coreapp.toml`'s
`[postgres] extensions`); `needs = ["sso"]` adds `OIDC_ISSUER`, `OIDC_CLIENT_ID` and
`[postgres] extensions`, and the oldest server version it works with in
`min_version`); `needs = ["sso"]` adds `OIDC_ISSUER`, `OIDC_CLIENT_ID` and
`OIDC_CLIENT_SECRET` (the client's callback, PKCE and secret method are in
`coreapp.toml`'s `[sso]`); `needs = ["email"]` adds `SMTP_HOST`, `SMTP_PORT`
(587), `SMTP_SECURITY` (`starttls`), `SMTP_USER`, `SMTP_PASSWORD` and