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>
This commit is contained in:
waleed
2026-03-10 18:07:56 -07:00
parent fdf4f033ad
commit aa0ce77005

View File

@@ -147,12 +147,9 @@ export function Tables() {
const result = await createTable.mutateAsync({
name,
schema: {
columns: [
{ name: 'name', type: 'string' },
{ name: 'status', type: 'string' },
],
columns: [{ name: 'name', type: 'string' }],
},
initialRowCount: 20,
initialRowCount: 1,
})
const tableId = result?.data?.table?.id
if (tableId) {