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

@@ -0,0 +1,10 @@
alter table public.student_profiles
add column if not exists avatar_preset text not null default 'male';
alter table public.student_profiles
drop constraint if exists student_profiles_avatar_preset_check,
add constraint student_profiles_avatar_preset_check
check (avatar_preset in ('male', 'female'));
comment on column public.student_profiles.avatar_preset is
'Student profile preset avatar choice. User-uploaded avatars are intentionally unsupported.';