From 0c3b4282ed54c4a8424ba06c275ce7bcef09a49b Mon Sep 17 00:00:00 2001 From: HansMarcus01 Date: Tue, 11 Mar 2025 09:22:40 -0600 Subject: [PATCH] fixing bug of the constraint null and not null --- src/components/EditorCanvas/Table.jsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/EditorCanvas/Table.jsx b/src/components/EditorCanvas/Table.jsx index 6ada7fa..23ece2d 100644 --- a/src/components/EditorCanvas/Table.jsx +++ b/src/components/EditorCanvas/Table.jsx @@ -412,8 +412,8 @@ export default function Table(props) { ? "(" + fieldData.size + ")" : "")} - {(fieldData.notNull && NOT NULL)} - {(!fieldData.notnull && NULL)} + {!fieldData.notNull && NULL} + {fieldData.notNull && NOT NULL} ) : ( <>