Initial commit of akmon project
This commit is contained in:
14
insert_dummy_conversation.sql
Normal file
14
insert_dummy_conversation.sql
Normal file
@@ -0,0 +1,14 @@
|
||||
-- Insert a dummy conversation to satisfy foreign key constraints for testing
|
||||
-- Run this in Supabase SQL Editor
|
||||
|
||||
INSERT INTO public.chat_conversations (id, title, is_group, metadata)
|
||||
VALUES (
|
||||
'00000000-0000-0000-0000-000000000000',
|
||||
'System Test Conversation',
|
||||
false,
|
||||
'{"type": "test"}'::jsonb
|
||||
)
|
||||
ON CONFLICT (id) DO NOTHING;
|
||||
|
||||
-- Also ensure the current user has permission to see this conversation if RLS is strict
|
||||
-- (This depends on your specific RLS policies for chat_conversations)
|
||||
Reference in New Issue
Block a user