From f793203e043aaa2db38823c84500e82756348ac0 Mon Sep 17 00:00:00 2001 From: Kyren223 Date: Thu, 17 Jul 2025 18:45:43 +0300 Subject: Added session duration metrics with device analytics along with device analytics metrics in the DB to aggregate and DeviceID abuse prevention --- internal/data/models.go | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'internal/data/models.go') diff --git a/internal/data/models.go b/internal/data/models.go index 02949d0..f052fcd 100644 --- a/internal/data/models.go +++ b/internal/data/models.go @@ -1,6 +1,6 @@ // Code generated by sqlc. DO NOT EDIT. // versions: -// sqlc v1.28.0 +// sqlc v1.29.0 package data @@ -14,6 +14,14 @@ type BlockedUser struct { BlockedUserID snowflake.ID } +type DeviceAnalytic struct { + DeviceID string + Os *string + Arch *string + Term *string + Colorterm *string +} + type Frequency struct { ID snowflake.ID NetworkID snowflake.ID -- cgit v1.3.1