add one more public

This commit is contained in:
Wells Bunker 2025-09-16 09:21:55 -06:00
parent de20c9efa8
commit 12a5412dbe
No known key found for this signature in database
GPG Key ID: DB16D6F2679B78FC
1 changed files with 1 additions and 1 deletions

View File

@ -241,6 +241,6 @@ SELECT
c.organization_id,
m.created_at, m.updated_at, m.deleted_at
FROM public.messages m
JOIN chats c ON m.chat_id = c.id
JOIN public.chats c ON m.chat_id = c.id
WHERE m.deleted_at IS NULL AND m.request_message IS NOT NULL AND m.request_message != ''
ON CONFLICT (asset_id, asset_type) DO NOTHING;