mirror of
https://github.com/drawdb-io/drawdb.git
synced 2025-11-09 10:14:46 +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">
|
<div className="flex gap-1 items-center">
|
||||||
{fieldData.primary && <IconKeyStroked />}
|
{fieldData.primary && <IconKeyStroked />}
|
||||||
|
{!fieldData.notNull && <span>?</span>}
|
||||||
<span>
|
<span>
|
||||||
{fieldData.type +
|
{fieldData.type +
|
||||||
((dbToTypes[database][fieldData.type].isSized ||
|
((dbToTypes[database][fieldData.type].isSized ||
|
||||||
|
|||||||
Reference in New Issue
Block a user