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:
@@ -30,7 +30,10 @@ needs = []
|
||||
# pkce = true # whether it sends PKCE (S256)
|
||||
# token_auth = "client_secret_basic" # or "client_secret_post"
|
||||
|
||||
# With "postgres": extensions the app's database user can't make itself,
|
||||
# made by the Core (coreapp core lists what it has)
|
||||
# With "postgres" (or "mysql"): the oldest server version the app works
|
||||
# with, so an older Core refuses it; for postgres, extensions the app's
|
||||
# database user can't make itself, made by the Core (coreapp core lists
|
||||
# the versions and extensions it has)
|
||||
# [postgres]
|
||||
# min_version = "16"
|
||||
# extensions = ["vector"]
|
||||
|
||||
Reference in New Issue
Block a user