mirror of
https://github.com/retailcrm/mg-transport-core.git
synced 2024-11-22 05:06:04 +03:00
[fix] changed ExternalID type to string
This commit is contained in:
parent
caf46751fe
commit
2a114dee69
@ -31,7 +31,7 @@ type Account struct {
|
||||
// User model
|
||||
type User struct {
|
||||
ID int `gorm:"primary_key"`
|
||||
ExternalID int `gorm:"column:external_id; not null; unique"`
|
||||
ExternalID string `gorm:"column:external_id; type:varchar(255); not null; unique"`
|
||||
UserPhotoURL string `gorm:"column:user_photo_url; type:varchar(255)" binding:"max=255"`
|
||||
UserPhotoID string `gorm:"column:user_photo_id; type:varchar(100)" binding:"max=100"`
|
||||
CreatedAt time.Time
|
||||
|
Loading…
Reference in New Issue
Block a user