feat: add user avatar with dicebear dylan
This commit is contained in:
3
migrations/016_add_avatar_url.sql
Normal file
3
migrations/016_add_avatar_url.sql
Normal 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 = '';
|
||||
Reference in New Issue
Block a user