Merge pull request #992 from yangkaa/master-length-limit

Fix Bug: Modify the field length limit
This commit is contained in:
barnettZQG 2021-05-24 11:45:06 +08:00 committed by GitHub
commit a8dac6f7c1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -76,9 +76,9 @@ type HTTPRule struct {
ServiceID string `gorm:"column:service_id"`
ContainerPort int `gorm:"column:container_port"`
Domain string `gorm:"column:domain"`
Path string `gorm:"column:path"`
Header string `gorm:"column:header"`
Cookie string `gorm:"column:cookie"`
Path string `gorm:"column:path;type:longtext"`
Header string `gorm:"column:header;type:longtext"`
Cookie string `gorm:"column:cookie;type:longtext"`
Weight int `gorm:"column:weight"`
IP string `gorm:"column:ip"`
CertificateID string `gorm:"column:certificate_id"`