Skip to content

Database governance built for humans and agents — controlling changes and access across every major database.

chore: is constraint for pk (#16766)

rebelice4dfe3c11c026
diff --git a/frontend/src/components/SchemaEditorLite/edit.ts b/frontend/src/components/SchemaEditorLite/edit.ts
index a8d36abfc0..86f3ce813e 100644
--- a/frontend/src/components/SchemaEditorLite/edit.ts
+++ b/frontend/src/components/SchemaEditorLite/edit.ts
@@ -30,6 +30,7 @@ export const upsertColumnPrimaryKey = (
name,
primary: true,
unique: true,
+ isConstraint: true,
expressions: [columnName],
})
);