feat(worker): add durable background jobs

This commit is contained in:
2026-06-05 15:38:03 +08:00
parent 52b6497d3a
commit 2cb02c8a91
8 changed files with 732 additions and 24 deletions
+1
View File
@@ -242,6 +242,7 @@ func autoMigrate(db *gorm.DB) error {
&model.EmailTemplate{},
&model.MessageReaction{},
&model.Report{},
&model.BackgroundJob{},
// S6: WorkingHour — out-of-office / business hours per inbox
&model.WorkingHour{},
}