diff options
Diffstat (limited to 'internal/gtsmodel/routersession.go')
-rw-r--r-- | internal/gtsmodel/routersession.go | 6 |
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"` } |