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.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/internal/db/lfs.go b/internal/db/lfs.go
index 1a34b802..5b5796c8 100644
--- a/internal/db/lfs.go
+++ b/internal/db/lfs.go
@@ -33,8 +33,8 @@ var LFS LFSStore
// 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"`
+ RepoID int64 `gorm:"primaryKey;auto_increment:false"`
+ OID lfsutil.OID `gorm:"primaryKey;column:oid"`
Size int64 `gorm:"not null"`
Storage lfsutil.Storage `gorm:"not null"`
CreatedAt time.Time `gorm:"not null"`