mirror of
https://github.com/retailcrm/mg-transport-core.git
synced 2024-11-25 22:56:03 +03:00
update Account.Name size limit
This commit is contained in:
parent
db67f0bcb2
commit
dbfac6a56d
@ -22,7 +22,7 @@ type Account struct {
|
|||||||
ConnectionID int `gorm:"column:connection_id" json:"connectionId,omitempty"`
|
ConnectionID int `gorm:"column:connection_id" json:"connectionId,omitempty"`
|
||||||
Channel uint64 `gorm:"column:channel; not null; unique" json:"channel,omitempty"`
|
Channel uint64 `gorm:"column:channel; not null; unique" json:"channel,omitempty"`
|
||||||
ChannelSettingsHash string `gorm:"column:channel_settings_hash; type:varchar(70)" binding:"max=70"`
|
ChannelSettingsHash string `gorm:"column:channel_settings_hash; type:varchar(70)" binding:"max=70"`
|
||||||
Name string `gorm:"column:name; type:varchar(40)" json:"name,omitempty" binding:"max=40"`
|
Name string `gorm:"column:name; type:varchar(100)" json:"name,omitempty" binding:"max=100"`
|
||||||
Lang string `gorm:"column:lang; type:varchar(2)" json:"lang,omitempty" binding:"max=2"`
|
Lang string `gorm:"column:lang; type:varchar(2)" json:"lang,omitempty" binding:"max=2"`
|
||||||
CreatedAt time.Time
|
CreatedAt time.Time
|
||||||
UpdatedAt time.Time
|
UpdatedAt time.Time
|
||||||
|
Loading…
Reference in New Issue
Block a user