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
Is changing primary field no longer possible?
I used (pre-AI) to be able to change the primary field, but now that option no longer exists.
I tried to use Cuppy to do that but it fails.
I’ll inspect the current table fields first so I can identify which columns are eligible to become the primary field.
Read file
field.simple.md
Show field command usage
I’m going to read the table metadata and fields now to see the current primary field and available columns.
Show table command usage
Get fields for active table
The current primary field is Data; I need you to choose which column should replace it.
Asked
1 question
I’ll update the ID field to be primary and then read the fields back to verify the change.
Show field update usage
Set ID as primary field and verify
The update command returned success, but the verification still shows Data as primary, so I’m checking the underlying API route instead of assuming it worked.
Get active table metadata
Show API search usage
Show API call usage
I found the CLI accepted the update but did not actually make ID primary, likely because ID is computed; I’m checking the API/tooling details before making another change.
···
+1 more tools
Show Teable API search usage
List field-related Teable tools
Search API for primary field update
ID is not showing as primary after the supported update, so I’ll check if Teable exposes a dedicated “convert primary field” endpoint.
Search APIs for primary field
Search field update APIs
The public API search did not expose a primary-field endpoint, so I’m checking the installed Teable CLI behavior to determine whether this is supported for computed autoNumber fields.
Locate Teable CLI executable
Find files
**/*teable*
I’m going to inspect the CLI package locally to avoid guessing the unsupported update shape.
Resolve Teable CLI real path
I’m searching the CLI source for primary-field handling so I can determine whether another option exists.
Search in files
isPrimary|primary
The CLI code suggests primary fields are controlled by field order/position; I’ll inspect whether field update supports ordering or moving columns.
Search in files
field.*order|order.*field|field.*move|move.*field|position
I found that primary assignment may depend on field ordering, so I’m checking the exact field update API schema before trying a different safe update.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Is changing primary field no longer possible?
I used (pre-AI) to be able to change the primary field, but now that option no longer exists.
I tried to use Cuppy to do that but it fails.
All reactions