Skip to content

Commit

Permalink
Fixed index
Browse files Browse the repository at this point in the history
  • Loading branch information
LyricTian committed Jan 10, 2019
1 parent 7332bfd commit f1cfb78
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions mysql.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,9 @@ import (
type StoreItem struct {
ID int64 `db:"id,primarykey,autoincrement"`
ExpiredAt int64 `db:"expired_at"`
Code string `db:"code,size:512"`
Access string `db:"access,size:512"`
Refresh string `db:"refresh,size:512"`
Code string `db:"code,size:255"`
Access string `db:"access,size:255"`
Refresh string `db:"refresh,size:255"`
Data string `db:"data,size:2048"`
}

Expand Down

0 comments on commit f1cfb78

Please sign in to comment.