Add question mark to show if a field is nullable

This commit is contained in:
1ilit 2024-08-13 12:49:35 +03:00
parent c44c0c5e4b
commit 03647fb3f8

View File

@ -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 ||