mirror of
https://github.com/drawdb-io/drawdb.git
synced 2026-02-22 02:01:07 +08:00
fixing bug of the constraint null and not null
This commit is contained in:
@@ -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>}
|
||||
</>
|
||||
) : (
|
||||
<>
|
||||
|
||||
Reference in New Issue
Block a user