aboutsummaryrefslogtreecommitdiff
path: root/internal/db/lfs.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/db/lfs.go')
-rw-r--r--internal/db/lfs.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/db/lfs.go b/internal/db/lfs.go
index 26a24df5..128069ed 100644
--- a/internal/db/lfs.go
+++ b/internal/db/lfs.go
@@ -37,7 +37,7 @@ type lfs struct {
// LFSObject is the relation between an LFS object and a repository.
type LFSObject struct {
RepoID int64 `gorm:"PRIMARY_KEY;AUTO_INCREMENT:false"`
- OID lfsutil.OID `gorm:"PRIMARY_KEY;column:oid"`
+ OID lfsutil.OID `gorm:"PRIMARY_KEY;COLUMN:oid"`
Size int64 `gorm:"NOT NULL"`
Storage lfsutil.Storage `gorm:"NOT NULL"`
CreatedAt time.Time `gorm:"NOT NULL"`