File tree Expand file tree Collapse file tree 1 file changed +9
-9
lines changed Expand file tree Collapse file tree 1 file changed +9
-9
lines changed Original file line number Diff line number Diff line change @@ -12,20 +12,20 @@ import (
12
12
13
13
type improveNotificationTableIndicesAction struct {
14
14
ID int64 `xorm:"pk autoincr"`
15
- UserID int64 `xorm:"INDEX NOT NULL"`
16
- RepoID int64 `xorm:"INDEX NOT NULL"`
15
+ UserID int64 `xorm:"NOT NULL"`
16
+ RepoID int64 `xorm:"NOT NULL"`
17
17
18
- Status uint8 `xorm:"SMALLINT INDEX NOT NULL"`
19
- Source uint8 `xorm:"SMALLINT INDEX NOT NULL"`
18
+ Status uint8 `xorm:"SMALLINT NOT NULL"`
19
+ Source uint8 `xorm:"SMALLINT NOT NULL"`
20
20
21
- IssueID int64 `xorm:"INDEX NOT NULL"`
22
- CommitID string `xorm:"INDEX"`
21
+ IssueID int64 `xorm:"NOT NULL"`
22
+ CommitID string
23
23
CommentID int64
24
24
25
- UpdatedBy int64 `xorm:"INDEX NOT NULL"`
25
+ UpdatedBy int64 `xorm:"NOT NULL"`
26
26
27
- CreatedUnix timeutil.TimeStamp `xorm:"created INDEX NOT NULL"`
28
- UpdatedUnix timeutil.TimeStamp `xorm:"updated INDEX NOT NULL"`
27
+ CreatedUnix timeutil.TimeStamp `xorm:"created NOT NULL"`
28
+ UpdatedUnix timeutil.TimeStamp `xorm:"updated NOT NULL"`
29
29
}
30
30
31
31
// TableName sets the name of this table
You can’t perform that action at this time.
0 commit comments