aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--models/migrations/v1_20/v250.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/models/migrations/v1_20/v250.go b/models/migrations/v1_20/v250.go
index e05646e5c6..a09957b291 100644
--- a/models/migrations/v1_20/v250.go
+++ b/models/migrations/v1_20/v250.go
@@ -20,7 +20,7 @@ func ChangeContainerMetadataMultiArch(x *xorm.Engine) error {
}
type PackageVersion struct {
- ID int64 `xorm:"pk"`
+ ID int64 `xorm:"pk autoincr"`
MetadataJSON string `xorm:"metadata_json"`
}