feat: add user avatar with dicebear dylan

This commit is contained in:
2026-05-07 13:42:21 +02:00
parent 83e480b7b0
commit b5083035f5
6 changed files with 60 additions and 16 deletions

View File

@@ -0,0 +1,3 @@
ALTER TABLE user ADD COLUMN avatar_url TEXT NOT NULL DEFAULT '';
UPDATE user SET avatar_url = 'https://api.dicebear.com/9.x/dylan/svg?seed=' || username WHERE avatar_url = '';