Skip to content

Free, simple, and intuitive online database diagram editor and SQL generator.

Change not null button title from nullable to not null (#66)

1ilit3c7c0eafde70
diff --git a/src/components/EditorSidePanel/TablesTab/TableField.jsx b/src/components/EditorSidePanel/TablesTab/TableField.jsx
index 71db7830..7ffe2dae 100644
--- a/src/components/EditorSidePanel/TablesTab/TableField.jsx
+++ b/src/components/EditorSidePanel/TablesTab/TableField.jsx
@@ -123,7 +123,7 @@ export default function TableField({ data, tid, index }) {
<Col span={3}>
<Button
type={data.notNull ? "primary" : "tertiary"}
- title="Nullable"
+ title="Not Null"
theme={data.notNull ? "solid" : "light"}
onClick={() => {
setUndoStack((prev) => [