summaryrefslogtreecommitdiff
path: root/internal/gtsmodel/routersession.go
diff options
context:
space:
mode:
authorLibravatar tobi <31960611+tsmethurst@users.noreply.github.com>2021-08-25 15:34:33 +0200
committerLibravatar GitHub <noreply@github.com>2021-08-25 15:34:33 +0200
commit2dc9fc1626507bb54417fc4a1920b847cafb27a2 (patch)
tree4ddeac479b923db38090aac8bd9209f3646851c1 /internal/gtsmodel/routersession.go
parentManually approves followers (#146) (diff)
downloadgotosocial-2dc9fc1626507bb54417fc4a1920b847cafb27a2.tar.xz
Pg to bun (#148)
* start moving to bun * changing more stuff * more * and yet more * tests passing * seems stable now * more big changes * small fix * little fixes
Diffstat (limited to 'internal/gtsmodel/routersession.go')
-rw-r--r--internal/gtsmodel/routersession.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/internal/gtsmodel/routersession.go b/internal/gtsmodel/routersession.go
index c0f8e1f4d..7f3bd85c3 100644
--- a/internal/gtsmodel/routersession.go
+++ b/internal/gtsmodel/routersession.go
@@ -20,7 +20,7 @@ package gtsmodel
// RouterSession is used to store and retrieve settings for a router session.
type RouterSession struct {
- ID string `pg:"type:CHAR(26),pk,notnull"`
- Auth []byte `pg:",notnull"`
- Crypt []byte `pg:",notnull"`
+ ID string `bun:"type:CHAR(26),pk,notnull"`
+ Auth []byte `bun:"type:bytea,notnull"`
+ Crypt []byte `bun:"type:bytea,notnull"`
}