feat: use preset avatars and disable leaderboard by default

This commit is contained in:
Codex
2026-06-30 14:07:48 +08:00
parent 8e3252081f
commit 9299552451
18 changed files with 228 additions and 52 deletions

View File

@@ -30,7 +30,7 @@ on conflict (tenant_id) do nothing;
insert into public.tenant_settings (tenant_id, feature_flags, admin_feature_flags, public_config)
values (
'00000000-0000-0000-0000-000000000001',
'{"enableStore":true,"enableLeaderboard":true,"enableVocabulary":true,"enableHandbook":true,"enableScoreline":true}'::jsonb,
'{"enableStore":true,"enableLeaderboard":false,"enableVocabulary":true,"enableHandbook":true,"enableScoreline":true}'::jsonb,
'{"enableTenantManagement":true,"enableQuestionCRUD":true,"enableRevenueLedger":true,"enableMarketing":true}'::jsonb,
'{"examDate":"","appUrl":"http://127.0.0.1:5173"}'::jsonb
)