ADD: added new user data model and updated the administration site

This commit is contained in:
hwinkel
2025-11-20 23:15:21 +01:00
parent 3818fbf460
commit 846a922a41
12 changed files with 766 additions and 123 deletions

View File

@@ -0,0 +1,19 @@
package player
const getPLayerWithRolesQuery = `
SELECT
u.uuid,
u.email,
u.username,
u.firstname,
u.lastname,
u.birthday,
u.is_active,
u.created_at,
ur.role
FROM public.users u
LEFT JOIN roles ur ON u.uuid = ur.player_id::uuid
`
// GROUP BY u.uuid
// ORDER BY u.uuid ASC;