-- Test the AI moderation system by inserting a sample flag INSERT INTO moderation_flags ( post_id, flag_reason, scores, status ) VALUES ( gen_random_uuid(), 'hate', '{"hate": 0.8, "greed": 0.1, "delusion": 0.2}', 'pending' ); -- Verify the insertion SELECT * FROM moderation_flags ORDER BY created_at DESC LIMIT 1;