优化url字段长度

This commit is contained in:
徐俊杰 2023-03-28 14:01:26 +08:00
parent 4dd5ff48da
commit a7bdbf39a1
2 changed files with 1 additions and 2 deletions

View File

@ -13,7 +13,6 @@ import (
"github.com/fonchain/fonchain-artistinfo/pb/artistinfoArtshow"
db "github.com/fonchain/fonchain-artistinfo/pkg/db"
"gorm.io/gorm"
"gorm.io/gorm/clause"
)
var ArtistinfoArtshowVideo = new(artistinfoArtshowVideo)

View File

@ -15,7 +15,7 @@ type ArtshowVideoRecord struct {
//AccountId int64 `json:"accountId" gorm:"column:account_id;comment:"`
ArtistName string `json:"artistName" gorm:"column:artist_name;comment:"`
VideoUrl string `json:"videoUrl" gorm:"column:video_url;comment:"`
VideoUrl string `json:"videoUrl" gorm:"column:video_url;type:varchar(2000);comment:"`
//审批字段
AuditStatus AuditStatus `json:"auditStatus" gorm:"column:audit_status;comment:审核状态2= 待审核,3= 审核失败,4= 审核通过,5= 待补充"`