Skip to content

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

chore: address `issue.assignee_id` comments (#866)

STEVENb4ba2ae29994
diff --git a/store/migration/10001__init_schema.sql b/store/migration/10001__init_schema.sql
index 994f4ccd50..04b5bf07f7 100644
--- a/store/migration/10001__init_schema.sql
+++ b/store/migration/10001__init_schema.sql
@@ -708,7 +708,7 @@ CREATE TABLE issue (
status TEXT NOT NULL CHECK (status IN ('OPEN', 'DONE', 'CANCELED')),
type TEXT NOT NULL CHECK (type LIKE 'bb.issue.%'),
description TEXT NOT NULL DEFAULT '',
- -- we require an assignee, if user wants to unassign herself, she can re-assign to the system account.
+ -- While changing assignee_id, one should only change it to a non-robot DBA/owner.
assignee_id INTEGER NOT NULL REFERENCES principal (id),
payload JSONB NOT NULL DEFAULT '{}'
);