summaryrefslogtreecommitdiff
path: root/internal/data/models.go
diff options
context:
space:
mode:
authorKyren223 <Kyren223@proton.me>2025-02-04 18:52:57 +0200
committerKyren223 <Kyren223@proton.me>2025-02-04 18:52:57 +0200
commiteab8cba4bb37491d5c3b497b98faa7029e7b7300 (patch)
tree15f9994c423d18f0492f97c43bf71a0793e1e6a4 /internal/data/models.go
parent42a1ee12c1e64955e6ddd38c34b122c7c10a93f2 (diff)
Refactored the way notifications work on the server-side, next commit
fixes the client to use this new system
Diffstat (limited to 'internal/data/models.go')
-rw-r--r--internal/data/models.go8
1 files changed, 7 insertions, 1 deletions
diff --git a/internal/data/models.go b/internal/data/models.go
index 8470e2a..02949d0 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.27.0
+// sqlc v1.28.0
package data
@@ -23,6 +23,12 @@ type Frequency struct {
Position int64
}
+type LastReadMessage struct {
+ UserID snowflake.ID
+ SourceID snowflake.ID
+ LastRead int64
+}
+
type Member struct {
UserID snowflake.ID
NetworkID snowflake.ID