Skip to content

Commit ca344b5

Browse files
committed
Settle back to maximum VARCHAR(3072)
1 parent 40b3cbb commit ca344b5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

models/lfs_lock.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ type LFSLock struct {
2020
RepoID int64 `xorm:"UNIQUE(path_by_repo) INDEX NOT NULL"`
2121
Owner *User `xorm:"-"`
2222
OwnerID int64 `xorm:"INDEX NOT NULL"`
23-
Path string `xorm:"TEXT(4096) UNIQUE(path_by_repo)"`
23+
Path string `xorm:"VARCHAR(3072) UNIQUE(path_by_repo)"`
2424
Created time.Time `xorm:"created"`
2525
}
2626

0 commit comments

Comments
 (0)