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 caf92f9 commit 2988c10Copy full SHA for 2988c10
models/lfs_lock.go
@@ -17,10 +17,10 @@ import (
17
// LFSLock represents a git lfs lock of repository.
18
type LFSLock struct {
19
ID int64 `xorm:"pk autoincr"`
20
- RepoID int64 `xorm:"UNIQUE(path_by_repo) INDEX NOT NULL"`
+ RepoID int64 `xorm:"INDEX NOT NULL"`
21
Owner *User `xorm:"-"`
22
OwnerID int64 `xorm:"INDEX NOT NULL"`
23
- Path string `xorm:"TEXT UNIQUE(path_by_repo)"`
+ Path string `xorm:"TEXT"`
24
Created time.Time `xorm:"created"`
25
}
26
0 commit comments