mirror of
https://gh-proxy.org/https://github.com/klinsmaya/multica.git
synced 2026-11-10 02:16:45 +08:00
Adds the WeCom (企业微信) smart-bot integration built on the unified Channel engine — inbound chat, /issue, inbox notifications, install/revoke UI and an explicit user-binding flow. Co-authored-by: seacen <[email protected]> Follow-up: #6547
9 lines
522 B
SQL
9 lines
522 B
SQL
-- PostgreSQL cannot mark a validated constraint NOT VALID again. Recreate it
|
|
-- to restore the state immediately after migration 263 (present, enforcing new
|
|
-- writes, not yet validated). Mirrors
|
|
-- 260_issue_origin_dingtalk_chat_validate.down.sql.
|
|
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'))
|
|
NOT VALID;
|