mirror of
https://github.com/phishingclub/phishingclub.git
synced 2026-10-13 18:50:47 +02:00
update custom stats table and db
Signed-off-by: Ronni Skansing <rskansing@gmail.com>
This commit is contained in:
1 parent
495f3e0b0a
commit
77cd13812d
5 files changed
+105
-63
No files matched your search
@@ -37,12 +37,6 @@ type CampaignStats struct {
|
||||
DataSubmissions int `gorm:"not null;default:0" json:"dataSubmissions"` // Form submissions
|
||||
Reported int `gorm:"not null;default:0" json:"reported"` // Reported phishing
|
||||
|
||||
// Success rates (as percentages for quick display)
|
||||
OpenRate float64 `gorm:"not null;default:0" json:"openRate"`
|
||||
ClickRate float64 `gorm:"not null;default:0" json:"clickRate"`
|
||||
SubmissionRate float64 `gorm:"not null;default:0" json:"submissionRate"`
|
||||
ReportRate float64 `gorm:"not null;default:0" json:"reportRate"`
|
||||
|
||||
// Campaign metadata
|
||||
TemplateName string `gorm:"" json:"templateName"`
|
||||
CampaignType string `gorm:"" json:"campaignType"` // 'scheduled', 'self-managed'
|
||||
|
||||
Reference in new issue
Block a user