Skip to content

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

Fix add field

1ilit423e4e9b2d47
diff --git a/src/components/table.jsx b/src/components/table.jsx
index ac3518d2..f6ad52d3 100644
--- a/src/components/table.jsx
+++ b/src/components/table.jsx
@@ -669,6 +669,7 @@ export default function Table(props) {
name: "",
type: "",
default: "",
+ check: "",
primary: false,
unique: false,
notNull: false,
diff --git a/src/components/table_overview.jsx b/src/components/table_overview.jsx
index 29b2acc7..84b87b8a 100644
--- a/src/components/table_overview.jsx
+++ b/src/components/table_overview.jsx
@@ -529,6 +529,7 @@ export default function TableOverview(props) {
name: "",
type: "",
default: "",
+ check: "",
primary: false,
unique: false,
notNull: false,