Skip to content

Commit aa0ce77

Browse files
waleedlatif1claude
andcommitted
fix: manual table creation starts with 1 row, 1 column
Manual tables now create with a single 'name' column and 1 row instead of 2 columns and 20 rows. Copilot tables remain at 0 rows, 0 columns. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent fdf4f03 commit aa0ce77

File tree

1 file changed

+2
-5
lines changed
  • apps/sim/app/workspace/[workspaceId]/tables

1 file changed

+2
-5
lines changed

apps/sim/app/workspace/[workspaceId]/tables/tables.tsx

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -147,12 +147,9 @@ export function Tables() {
147147
const result = await createTable.mutateAsync({
148148
name,
149149
schema: {
150-
columns: [
151-
{ name: 'name', type: 'string' },
152-
{ name: 'status', type: 'string' },
153-
],
150+
columns: [{ name: 'name', type: 'string' }],
154151
},
155-
initialRowCount: 20,
152+
initialRowCount: 1,
156153
})
157154
const tableId = result?.data?.table?.id
158155
if (tableId) {

0 commit comments

Comments
 (0)