mirror of
https://github.com/ershisan99/db-studio.git
synced 2025-12-18 12:33:07 +00:00
feat: mysql driver working, tests passing.
This commit is contained in:
@@ -29,6 +29,7 @@ function TableView() {
|
||||
return (
|
||||
<div className="p-3 h-layout w-layout">
|
||||
<DataTable
|
||||
key={tableName}
|
||||
dbName={dbName}
|
||||
tableName={tableName}
|
||||
pageSize={pageSize}
|
||||
|
||||
@@ -80,10 +80,12 @@ const createColumns = (dbName: string) => {
|
||||
|
||||
columnHelper.accessor("primary_key", {
|
||||
header: "Primary key",
|
||||
enableSorting: false,
|
||||
}),
|
||||
|
||||
columnHelper.accessor("indexes", {
|
||||
header: "Indexes",
|
||||
enableSorting: false,
|
||||
cell: (props) => {
|
||||
const indexes = props.getValue();
|
||||
if (!indexes) return null;
|
||||
|
||||
Reference in New Issue
Block a user