diff --git a/apps/database-new/components/SchemaFlowHandler/SchemaFlowLegend.tsx b/apps/database-new/components/SchemaFlowHandler/SchemaFlowLegend.tsx
new file mode 100644
index 00000000000..dc231608686
--- /dev/null
+++ b/apps/database-new/components/SchemaFlowHandler/SchemaFlowLegend.tsx
@@ -0,0 +1,38 @@
+import { DiamondIcon, Fingerprint, Hash, Key } from 'lucide-react'
+
+const SchemaFlowLegend = () => {
+ return (
+
+ {/*
Legend
*/}
+
+ -
+
+ Primary key
+
+ -
+
+ Identity
+
+ -
+
+ Unique
+
+ -
+
+ Nullable
+
+ -
+
+ Non-Nullable
+
+
+
+ )
+}
+
+export default SchemaFlowLegend
diff --git a/apps/database-new/components/SchemaFlowHandler/TableNode.tsx b/apps/database-new/components/SchemaFlowHandler/TableNode.tsx
index 3b5073cc15e..3ddd05fdbd1 100644
--- a/apps/database-new/components/SchemaFlowHandler/TableNode.tsx
+++ b/apps/database-new/components/SchemaFlowHandler/TableNode.tsx
@@ -42,7 +42,7 @@ const TableNode = ({ data, targetPosition, sourcePosition }: NodeProps
) : (
{
color={'inherit'}
/>
)}
+
>