Database diagrams editor that allows you to visualize and design your DB with a single query.
TypeScript databasedbdb-migrationeditorerdmariadbmssqlmysqlpostgresqlreactreact-flowschema-migrationssqlsqlitetypescriptvisualizationxyflow
fix: restrict relationship handle on views
Ganesh Mania1734eb376db
diff --git a/src/pages/editor-page/canvas/table-node/table-node-field.tsx b/src/pages/editor-page/canvas/table-node/table-node-field.tsxindex 0584f61e..3b923354 100644--- a/src/pages/editor-page/canvas/table-node/table-node-field.tsx+++ b/src/pages/editor-page/canvas/table-node/table-node-field.tsx@@ -21,10 +21,11 @@ export interface TableNodeFieldProps {focused: boolean;highlighted: boolean;visible: boolean;+ isView: boolean;}export const TableNodeField: React.FC<TableNodeFieldProps> = React.memo(- ({ field, focused, tableNodeId, highlighted, visible }) => {+ ({ field, focused, tableNodeId, highlighted, visible, isView }) => {const { removeField, relationships } = useChartDB();const updateNodeInternals = useUpdateNodeInternals();const connection = useConnection();