Skip to content

Shared task board where people and AI coding agents work as teammates. Source-available, self-hostable.

Go
448 B
Raw Blame
-- PostgreSQL cannot mark a validated constraint NOT VALID. Recreate the state
-- immediately after migration 366: enforcing new writes but not yet validated.
ALTER TABLE issue DROP CONSTRAINT IF EXISTS issue_origin_type_check;
ALTER TABLE issue ADD CONSTRAINT issue_origin_type_check
    CHECK (origin_type IN ('autopilot', 'quick_create', 'lark_chat', 'slack_chat', 'agent_create', 'dingtalk_chat', 'wecom_chat', 'telegram_chat'))
    NOT VALID;