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 (
1212
1313type improveNotificationTableIndicesAction struct {
1414 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"`
1717
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"`
2020
21- IssueID int64 `xorm:"INDEX NOT NULL"`
22- CommitID string `xorm:"INDEX"`
21+ IssueID int64 `xorm:"NOT NULL"`
22+ CommitID string
2323 CommentID int64
2424
25- UpdatedBy int64 `xorm:"INDEX NOT NULL"`
25+ UpdatedBy int64 `xorm:"NOT NULL"`
2626
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"`
2929}
3030
3131// TableName sets the name of this table
You can’t perform that action at this time.
0 commit comments