Let an app ask for PostgreSQL extensions its user can't make
coreapp.toml's [postgres] extensions = ["vector"]: the installer checks the Core's PostgreSQL has each one (refusing before anything changes if not) and makes them in the app's database as the superuser, with CASCADE, on install and every update. Ones taken off the list are kept, since the data may use them. Also fixes the check refusing needs with both postgres and mysql, which never ran. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -29,3 +29,8 @@ needs = []
|
||||
# callback = "/auth/callback" # the path it sends people back to
|
||||
# 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)
|
||||
# [postgres]
|
||||
# extensions = ["vector"]
|
||||
|
||||
Reference in New Issue
Block a user