mirror of
https://github.com/supabase/supabase.git
synced 2026-05-19 03:17:08 +08:00
## Context Table Editor - hide "Is unique" configuration for a column that's a primary key - unnecessary to configure a column as unique if it's already a primary key (redundant index is created) ## Changes involved - TableEditor side panel: No longer shows is unique option under configuration popover if column is a PK - ColumnEditor side panel: Disable is unique + is nullable option if column is a PK (Added tooltip) <img width="810" height="151" alt="image" src="https://github.com/user-attachments/assets/0f877706-1a56-44b7-864e-ba30efbb67f7" /> Also chucked in some minor refactors: - Refactored some `any` types - Refactored Column to use the latest Checkbox component