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
+3 -2
View File
@@ -68,8 +68,9 @@ callback = "/auth/openid/core" # default "/auth/callback"
pkce = false # default true
token_auth = "client_secret_post" # default "client_secret_basic"
[postgres] # optional: extensions only a superuser can make
extensions = ["vector"]
[postgres] # optional ([mysql] has min_version too)
min_version = "16" # an older Core's PostgreSQL refuses the app
extensions = ["vector"] # ones only a superuser can make
```
The app has no scripts or compose file: the Core side is made by