-- =====================================================
-- 簡化版虛擬應用插入腳本
-- =====================================================

-- 插入虛擬應用記錄用於團隊評分
INSERT IGNORE INTO apps (
    id, 
    name, 
    description, 
    creator_id, 
    category, 
    type, 
    app_url, 
    icon, 
    icon_color, 
    likes_count, 
    views_count, 
    rating, 
    is_active, 
    created_at, 
    updated_at
) VALUES (
    'team_t1757702332911zcl6iafq1',
    '[團隊評分] aaa',
    '團隊 aaa 的評分記錄',
    '00000000-0000-0000-0000-000000000000',
    'team_scoring',
    'team',
    NULL,
    'Users',
    'from-gray-500 to-gray-600',
    0,
    0,
    0.00,
    TRUE,
    NOW(),
    NOW()
);

-- 驗證插入結果
SELECT id, name, type FROM apps WHERE id = 'team_t1757702332911zcl6iafq1';
