-- Create a new test moderation flag to see if it appears in Directus
INSERT INTO moderation_flags (
    post_id, 
    flag_reason, 
    scores, 
    status,
    created_at
) VALUES (
    gen_random_uuid(),
    'greed',
    '{"hate": 0.1, "greed": 0.8, "delusion": 0.3}',
    'pending',
    NOW()
);

-- Verify it was created
SELECT 'New test flag created:' as info;
SELECT 
    flag_reason,
    status,
    scores,
    created_at
FROM moderation_flags 
ORDER BY created_at DESC 
LIMIT 1;

-- Show total count
SELECT 'Total flags in database:' as info;
SELECT COUNT(*) as total_count FROM moderation_flags;
