Feat(webhook-type): Initial webhook type support

This commit is contained in:
2022-09-13 23:40:45 +08:00
parent ad69c0470d
commit 0d38e24b3e
4 changed files with 68 additions and 4 deletions

View File

@@ -14,6 +14,7 @@ type WebhookRoute struct {
UpdatedAt time.Time
DeletedAt gorm.DeletedAt `gorm:"index"`
WebhookID string `gorm:"index,unique"`
WebhookType string `gorm:"index"`
TelegramShortCode string `gorm:"index"`
}