Skip to content

Commit

Permalink
Fix support for MySQL (#6)
Browse files Browse the repository at this point in the history
Signed-off-by: Lauris Bukšis-Haberkorns <[email protected]>
  • Loading branch information
lafriks authored May 10, 2018
1 parent 3a80a38 commit 9cab149
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion xormstore.go
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ type Store struct {
}

type xormSession struct {
ID string `xorm:"VARCHAR(400) PK NAME 'id'"`
ID string `xorm:"VARCHAR(100) PK NAME 'id'"`
Data string `xorm:"TEXT"`
CreatedUnix util.TimeStamp `xorm:"created"`
UpdatedUnix util.TimeStamp `xorm:"updated"`
Expand Down

0 comments on commit 9cab149

Please sign in to comment.