Skip to content

Commit 085f8f1

Browse files
fix(database-ui): add primaryKeys to TableData type
1 parent 0661749 commit 085f8f1

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

packages/cli/src/projects/db-studio/ui/src/hooks/useTableData.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ export type TableData = {
66
columns: string[]
77
rows: unknown[][]
88
totalRows: number
9+
primaryKeys?: string[]
910
}
1011

1112
async function fetchTableData(

0 commit comments

Comments
 (0)