fix: fixup leads
This commit is contained in:
@@ -30,7 +30,7 @@ func (s Status) Valid() bool {
|
||||
type Lead struct {
|
||||
ID string `gorm:"type:uuid;primaryKey" json:"id"`
|
||||
Telegram string `gorm:"size:120;not null" json:"telegram"`
|
||||
Message string `gorm:"size:2000" json:"message"`
|
||||
Message *string `gorm:"size:2000" json:"message"`
|
||||
Status Status `gorm:"size:20;not null;index" json:"status"`
|
||||
CreatedAt time.Time `json:"created_at"`
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user