mirror of
https://gitee.com/rainbond/Rainbond.git
synced 2024-11-30 02:38:17 +08:00
fix: modify region table app_config_group_item field item_value length (#1472)
This commit is contained in:
parent
ef74adb800
commit
0d488995f1
@ -74,7 +74,7 @@ type ConfigGroupItem struct {
|
||||
AppID string `gorm:"column:app_id" json:"-"`
|
||||
ConfigGroupName string `gorm:"column:config_group_name" json:"-"`
|
||||
ItemKey string `gorm:"column:item_key" json:"item_key"`
|
||||
ItemValue string `gorm:"column:item_value" json:"item_value"`
|
||||
ItemValue string `gorm:"column:item_value;type:longtext" json:"item_value"`
|
||||
}
|
||||
|
||||
// TableName return tableName "application"
|
||||
|
@ -247,4 +247,7 @@ func (m *Manager) patchTable() {
|
||||
if err := m.db.Exec("alter table tenant_services_probe modify column cmd longtext;").Error; err != nil {
|
||||
logrus.Errorf("alter table tenant_services_probe error: %s", err.Error())
|
||||
}
|
||||
if err := m.db.Exec("alter table app_config_group_item modify column item_value longtext;").Error; err != nil {
|
||||
logrus.Errorf("alter table app_config_group_item error: %s", err.Error())
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user