Skip to content

Commit

Permalink
test array
Browse files Browse the repository at this point in the history
  • Loading branch information
aloccid-iata authored Apr 30, 2024
1 parent 7d9e786 commit 9a46bd8
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
1 change: 0 additions & 1 deletion public/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@
</head>
<body>
<noscript>You need to enable JavaScript to run this app.</noscript>
<a href="https://github.com/sqlhabit/sql_schema_visualizer" target="_blank"><img decoding="async" loading="lazy" width="149" height="149" src="https://github.blog/wp-content/uploads/2008/12/forkme_right_darkblue_121621.png?resize=149%2C149" style="position: fixed; top: 0; right: 0; z-index: 99999;" alt="Fork me on GitHub" data-recalc-dims="1" /></a>

<div id="root"></div>
</body>
Expand Down
4 changes: 2 additions & 2 deletions src/Visualizer/components/TableNode.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -68,9 +68,9 @@ export const TableNode: FC<NodeProps> = ({ data }) => {

<div className="column-name__inner">
<div className="column-name__name">
{column.array && <KeyIcon />}
{column.key && <KeyIcon />}
{column.name}
{column.key && <ArrayIcon />}
{column.array && <ArrayIcon />}
</div>
<div className="column-name__type">
{column.type}
Expand Down
1 change: 1 addition & 0 deletions src/config/databases/bindle/tables/accounts.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
"name": "id",
"description": "Unique identifier of an account.",
"key": true,
"array": true,
"type": "integer"
},
{
Expand Down

0 comments on commit 9a46bd8

Please sign in to comment.