Skip to content

FF Tables: generated and maxLength column fields are accepted but silently ignored #8636

Description

@andypalmi

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

  1. Create a column with { "name": "c", "type": "text", "maxLength": 50 } or { ..., "generated": true }.
  2. 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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    needs-triageNeeds looking at to decide what to dotype:bugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions