We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 85f3da9 commit 83cd897Copy full SHA for 83cd897
models/repo/star_list.go
@@ -10,10 +10,10 @@ import (
10
11
// StarList ...
12
type StarList struct {
13
- ID int64 `xorm:"pk autoincr"`
14
- UID int64 `xorm:INDEX uid`
15
- SID int64 `xorm:INDEX sid`
16
- Name string
+ ID int64 `xorm:"pk autoincr"`
+ UID int64 `xorm:"INDEX NOT NULL"`
+ SID int64 `xorm:"INDEX NOT NULL"`
+ Name string `xorm:"NOT NULL"`
17
Desc string
18
19
CreatedUnix timeutil.TimeStamp `xorm:"INDEX created"`
0 commit comments