mirror of
https://github.com/drawdb-io/drawdb.git
synced 2026-02-21 01:10:08 +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 + ")"
|
? "(" + fieldData.size + ")"
|
||||||
: "")}
|
: "")}
|
||||||
</span>
|
</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