tenseleyflow/shithub / 1b35f34

Browse files

sqlc: regen models for user_notification_prefs + users theme/session_epoch

Authored by mfwolffe <wolffemf@dukes.jmu.edu>
SHA
1b35f346fa1af40ea9eaf66800117f93052a8b91
Parents
a41bd07
Tree
6fefcfc

1 changed file

StatusFile+-
M internal/meta/sqlc/models.go 9 0
internal/meta/sqlc/models.gomodified
@@ -73,6 +73,8 @@ type User struct {
7373
 	Company           string
7474
 	Pronouns          string
7575
 	AvatarObjectKey   pgtype.Text
76
+	Theme             string
77
+	SessionEpoch      int32
7678
 }
7779
 
7880
 type UserEmail struct {
@@ -87,6 +89,13 @@ type UserEmail struct {
8789
 	CreatedAt             pgtype.Timestamptz
8890
 }
8991
 
92
+type UserNotificationPref struct {
93
+	UserID    int64
94
+	Key       string
95
+	Value     []byte
96
+	UpdatedAt pgtype.Timestamptz
97
+}
98
+
9099
 type UserRecoveryCode struct {
91100
 	ID          int64
92101
 	UserID      int64