mirror of
https://github.com/retailcrm/mg-transport-core.git
synced 2024-11-29 16:36:06 +03:00
Merge pull request #30 from Neur0toxine/bigger-account-name
update Account.Name size limit
This commit is contained in:
commit
50a8ad5f19
@ -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