fix on cpf/cnpj column size
parent
3b9fa900c8
commit
0a640c4726
|
|
@ -87,7 +87,7 @@ func ConnectDB() error {
|
|||
CompanyName: "PCast",
|
||||
Password: passwd,
|
||||
Url: "https://pcastive.com",
|
||||
CpfCnpj: "49083957000138",
|
||||
CpfCnpj: "49.083.957/0001-38",
|
||||
Channel: "pcastlive",
|
||||
UserType: "A",
|
||||
Blocked: "N",
|
||||
|
|
|
|||
|
|
@ -8,7 +8,7 @@ type User struct {
|
|||
Password []byte `gorm:"size:100;not null;" json:"-"`
|
||||
Channel string `gorm:"size:40;not null" json:"channel"`
|
||||
Url string `gorm:"size:40;not null" json:"url"`
|
||||
CpfCnpj string `gorm:"size:14;not null" json:"cpfcnpj"`
|
||||
CpfCnpj string `gorm:"size:20;not null" json:"cpfcnpj"`
|
||||
UserType string `gorm:"size:1;not null;default:U" json:"usertype"`
|
||||
Plan string `gorm:"size:1;not null;default:1" json:"T"`
|
||||
Blocked string `gorm:"size:1;not null;default:N" json:"blocked"`
|
||||
|
|
|
|||
Loading…
Reference in New Issue