Merge pull request #13069 from zexi/device-model-len

fix(region): set isolated_device model 512 length
This commit is contained in:
Zexi Li
2021-12-28 19:42:43 +08:00
committed by GitHub
+1 -1
View File
@@ -85,7 +85,7 @@ type SIsolatedDevice struct {
DevType string `width:"16" charset:"ascii" nullable:"false" default:"" index:"true" list:"domain" create:"domain_required" update:"domain"`
// # Specific device name read from lspci command, e.g. `Tesla K40m` ...
Model string `width:"32" charset:"ascii" nullable:"false" default:"" index:"true" list:"domain" create:"domain_required" update:"domain"`
Model string `width:"512" charset:"ascii" nullable:"false" default:"" index:"true" list:"domain" create:"domain_required" update:"domain"`
// 云主机Id
GuestId string `width:"36" charset:"ascii" nullable:"true" index:"true" list:"domain"`