Database diagrams editor that allows you to visualize and design your DB with a single query.
TypeScript databasedbdb-migrationeditorerdmariadbmssqlmysqlpostgresqlreactreact-flowschema-migrationssqlsqlitetypescriptvisualizationxyflow
fix lint
Guy Ben-Aharonb78a7305c104
diff --git a/src/pages/editor-page/canvas/table-node-field.tsx b/src/pages/editor-page/canvas/table-node-field.tsxindex d8e80ed3..3e240911 100644--- a/src/pages/editor-page/canvas/table-node-field.tsx+++ b/src/pages/editor-page/canvas/table-node-field.tsx@@ -89,11 +89,13 @@ export const TableNodeField: React.FC<TableNodeFieldProps> = ({{field.name}</div><div className="flex justify-end w-2/3">- {field.primaryKey? (+ {field.primaryKey ? (<div className="text-muted-foreground block group-hover:hidden text-xs text-center overflow-hidden whitespace-nowrap text-ellipsis w-full">Primary</div>- ): ""}+ ) : (+ ''+ )}<div className="text-muted-foreground block group-hover:hidden text-xs text-right overflow-hidden whitespace-nowrap text-ellipsis w-full">{field.type}</div>