You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Add UNSIGNED, and other loaded modifiers, to the designer's column grid #814
Open ?mock=connected. Right-click shop > Tables > orders and pick Design Table.
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.
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.
Activity
feat: show column modifiers in the table designer