1
0
Fork 0
forked from forgejo/forgejo

Alter package_version.metadata_json to LONGTEXT (#21667)

This commit is contained in:
KN4CK3R 2022-11-03 08:28:46 +01:00 committed by GitHub
parent 81ea4f95a0
commit f8f859b8fa
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 29 additions and 1 deletions

View file

@ -33,7 +33,7 @@ type PackageVersion struct {
LowerVersion string `xorm:"UNIQUE(s) INDEX NOT NULL"`
CreatedUnix timeutil.TimeStamp `xorm:"created INDEX NOT NULL"`
IsInternal bool `xorm:"INDEX NOT NULL DEFAULT false"`
MetadataJSON string `xorm:"metadata_json TEXT"`
MetadataJSON string `xorm:"metadata_json LONGTEXT"`
DownloadCount int64 `xorm:"NOT NULL DEFAULT 0"`
}