Found while adding the create-database-table MCP tool (#8633).
The table body schema advertises generated and maxLength, but the driver only reads name, type, nullable and default.
Steps to reproduce
- Create a column with
{ "name": "c", "type": "text", "maxLength": 50 } or { ..., "generated": true }.
- Inspect the created table: neither field is applied. There is also no length-carrying string type (only
text).
Expected
Honor the fields, or drop them from the advertised schema.
Reference
forge/ee/db/views/Table.js:27-42 (schema), driver column builder forge/ee/lib/tables/drivers/postgres-supavisor.js:361-380.
Found while adding the create-database-table MCP tool (#8633).
The table body schema advertises
generatedandmaxLength, but the driver only readsname,type,nullableanddefault.Steps to reproduce
{ "name": "c", "type": "text", "maxLength": 50 }or{ ..., "generated": true }.text).Expected
Honor the fields, or drop them from the advertised schema.
Reference
forge/ee/db/views/Table.js:27-42(schema), driver column builderforge/ee/lib/tables/drivers/postgres-supavisor.js:361-380.