Skip to content

Add UNSIGNED, and other loaded modifiers, to the designer's column grid #814

Closed

Description

@EVWorth

Severity: P2

What happens

  1. Open ?mock=connected. Right-click shop > Tables > orders and pick Design Table.
  2. id and customer_id are int unsigned on the server, but the Type column shows plain "INT". The grid has no Unsigned control, and no ZEROFILL, charset, collation or ON UPDATE controls either.
  3. Edit only the comment of customer_id and click Preview SQL. The preview shows MODIFY COLUMN \customer_id` INT UNSIGNED NOT NULL COMMENT '…'`.

What runs differs from what the form shows, and there is no way to create a new unsigned column. There is also no PK indicator in the Columns tab; the primary key is visible only under Indexes.

Cause

src/components/designer/TableDesigner.tsx:223-227 loads unsigned, zerofill, charset, collation and onUpdate. ColumnsTab (:578-586) has no controls for them, and isChanged (:553-565) ignores them.

Fix

  • Add an Unsigned checkbox for numeric types.
  • Put charset, collation and ON UPDATE in an expandable row or a side panel.
  • Include these fields in isChanged.
  • Consider a PK column.

Part of #783.

Activity

  1. added
    enhancement
    on Oct 21, 2026
  2. added a commit that references this issue on Oct 24, 2026
    3e09eb9
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

    enhancement

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions