mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2025-11-30 11:13:33 -06:00
fix null returned session (#159)
This commit is contained in:
parent
2eefaa0227
commit
1582cf8bad
5 changed files with 103 additions and 22 deletions
|
|
@ -21,6 +21,6 @@ package gtsmodel
|
|||
// RouterSession is used to store and retrieve settings for a router session.
|
||||
type RouterSession struct {
|
||||
ID string `bun:"type:CHAR(26),pk,notnull"`
|
||||
Auth []byte `bun:"type:bytea,notnull"`
|
||||
Crypt []byte `bun:"type:bytea,notnull"`
|
||||
Auth []byte `bun:"type:bytea,notnull,nullzero"`
|
||||
Crypt []byte `bun:"type:bytea,notnull,nullzero"`
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue