You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
No CLI command to link/unlink an app installation's database (API-only) #1969
Managing an app installation's linked database (link / unlink / repurpose / replace) is only possible via the raw HTTP API today — there is no mw subcommand for it. In otherwise CLI-driven workflows (e.g. migrations) this forces hand-rolled curl calls against the OpenAPI spec.
Verified against mw 1.19.0.
What's missing
mw app exposes no database-related subcommand:
app copy / download / exec / get / list / list-upgrade-candidates /
open / ssh / uninstall / update / upgrade / upload / version-info / versions
…but the API has a full set of app↔database operations:
databaseUserIds is required in practice (the call fails without databaseUserIds.admin) even though the schema lists only databaseId + purpose as required.
The validation error message misspells the field as databaseUserIDs (capital IDs) while the accepted field is databaseUserIds:
Add mw app database link | unlink | replace (or equivalent under mw database) mirroring the API above.
Independently: fix the validation error casing (databaseUserIDs → databaseUserIds) so the message matches the accepted payload.
Context
Surfaced while building and validating the mittwald-migrate skill. Filing upstream (API-supported but CLI-missing) rather than baking a curl workaround into the skill.
Activity
chore(release): 1.21.0