Skip to content

Commit

Permalink
Revert back
Browse files Browse the repository at this point in the history
  • Loading branch information
sapk committed Nov 27, 2017
1 parent 59565f4 commit 0180efa
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions models/lfs_lock.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,10 @@ import (
// LFSLock represents a git lfs lock of repository.
type LFSLock struct {
ID int64 `xorm:"pk autoincr"`
RepoID int64 `xorm:"UNIQUE(path_by_repo) INDEX NOT NULL"`
RepoID int64 `xorm:"INDEX NOT NULL"`
Owner *User `xorm:"-"`
OwnerID int64 `xorm:"INDEX NOT NULL"`
Path string `xorm:"VARCHAR(512) UNIQUE(path_by_repo)"`
Path string `xorm:"TEXT"`
Created time.Time `xorm:"created"`
}

Expand Down

0 comments on commit 0180efa

Please sign in to comment.