manage-database-usage
Installation
SKILL.md
Manage Database Usage (Doltgres)
The manage database is a Doltgres instance (PostgreSQL with Git-like versioning). Every read or write must happen on the correct branch. Failing to scope connections to a branch will read/write the wrong data.
Branch Naming
Each project has its own main branch: <tenantId>_<projectId>_main.
Custom branches follow: <tenantId>_<projectId>_<branchName>.
Connections default to the main branch (which is empty/root), so you must always check out the correct project branch before any operation.