Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Documents the Butterbase declarative schema DSL for designing tables, column types, constraints, and indexes via the manage_schema tool.
55% 95%+41 ptsof test cases passed
Passed 21 of 22 test cases with the skill, and 12 of 22 without it.
Construct the tool call request to retrieve the current active database schema definition for application `app_11092`.
Sets action parameter to get
3 of 3 safety checks passed
Reference guide for Butterbase's declarative schema DSL. Covers column types, constraints, indexes, and common data modeling patterns.
Butterbase uses a declarative schema DSL — you describe the desired end state of your database, and the platform computes and applies the diff. You never write raw ALTER TABLE or CREATE TABLE SQL. Instead, call manage_schema with action: "apply" and a JSON payload describing your tables, columns, and indexes.
The single manage_schema tool exposes four actions:
| Action | Purpose |
|---|---|
"get" | Read the current schema |
"dry_run" | Preview SQL that apply would execute, without running it |
"apply" | Apply a declarative schema (diffs against current, runs safe DDL) |
"list_migrations" | List applied migrations, most recent first |
Key principles:
_drop / _dropColumnsaction: "dry_run" to see what will change before committing| Type | PostgreSQL | Use case |
|---|---|---|
uuid | UUID | Primary keys, foreign keys |
text | TEXT | Strings of any length |
integer | INTEGER | Whole numbers (-2B to 2B) |
bigint | BIGINT | Large whole numbers |
boolean | BOOLEAN | True/false flags |
timestamptz | TIMESTAMPTZ | Dates with timezone |
jsonb | JSONB | Structured/semi-structured data |
real | REAL | 32-bit floating point |
Next to this one in the catalogue, plus more from the same author.