fixing bug of the constraint null and not null

This commit is contained in:
HansMarcus01
2025-03-11 09:22:40 -06:00
parent 50e7201351
commit 0c3b4282ed

View File

@@ -412,8 +412,8 @@ export default function Table(props) {
? "(" + fieldData.size + ")"
: "")}
</span>
{(fieldData.notNull && <span>NOT NULL</span>)}
{(!fieldData.notnull && <span>NULL</span>)}
{!fieldData.notNull && <span>NULL</span>}
{fieldData.notNull && <span>NOT NULL</span>}
</>
) : (
<>