mirror of
https://github.com/drawdb-io/drawdb.git
synced 2025-09-18 12:52:37 +00:00
Add question mark to show if a field is nullable
This commit is contained in:
@@ -357,6 +357,7 @@ export default function Table(props) {
|
||||
) : (
|
||||
<div className="flex gap-1 items-center">
|
||||
{fieldData.primary && <IconKeyStroked />}
|
||||
{!fieldData.notNull && <span>?</span>}
|
||||
<span>
|
||||
{fieldData.type +
|
||||
((dbToTypes[database][fieldData.type].isSized ||
|
||||
|
Reference in New Issue
Block a user