mirror of
https://github.com/drawdb-io/drawdb.git
synced 2025-05-24 18:39:12 +00:00
Add question mark to show if a field is nullable
This commit is contained in:
parent
c44c0c5e4b
commit
03647fb3f8
@ -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 ||
|
||||||
|
Loading…
Reference in New Issue
Block a user