完成評審評分機制

This commit is contained in:
2025-09-18 18:34:31 +08:00
parent 2101767690
commit ffa1e45f63
54 changed files with 5730 additions and 709 deletions

22
scripts/quick-fix.sql Normal file
View File

@@ -0,0 +1,22 @@
-- =====================================================
-- 快速修復外鍵約束問題
-- =====================================================
-- 插入虛擬應用記錄
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';