diff options
| author | Kyren223 <Kyren223@proton.me> | 2025-07-17 18:45:43 +0300 |
|---|---|---|
| committer | Kyren223 <Kyren223@proton.me> | 2025-07-19 18:32:12 +0300 |
| commit | f793203e043aaa2db38823c84500e82756348ac0 (patch) | |
| tree | 88a8a7b78069427f11acb0f2040e9f1d391fab55 /internal/data/models.go | |
| parent | aaea258a21226a893025a65222e244c6b3f4454c (diff) | |
Added session duration metrics with device analytics along with device
analytics metrics in the DB to aggregate and DeviceID abuse prevention
Diffstat (limited to 'internal/data/models.go')
| -rw-r--r-- | internal/data/models.go | 10 |
1 files changed, 9 insertions, 1 deletions
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 |
