feat: sync AI compose and ChatBot features

This commit is contained in:
A 2026-07-03 19:43:20 +08:00
parent 35e5d38f4d
commit b7269b135f
75 changed files with 5426 additions and 123 deletions

View file

@ -0,0 +1,19 @@
DELETE FROM public.read_model_versions
WHERE owner_user_id = 1250000007
AND peer_type = 'user'
AND peer_id = 1250000007
AND model IN ('contact_account', 'channel_active_memberships');
DELETE FROM public.peer_usernames
WHERE username_lower = 'chatbot'
AND peer_type = 'user'
AND peer_id = 1250000007;
DELETE FROM public.bots
WHERE bot_user_id = 1250000007
AND owner_user_id = 1250000007;
DELETE FROM public.users
WHERE id = 1250000007
AND username = 'ChatBot'
AND is_bot = true;