Add subtask model and repository, implement webhook notification handling

fix Issue with Scheduler
Support NotificationPlatformWebhook
This commit is contained in:
Mo Tarbin 2025-02-25 23:56:49 -05:00
parent 41be361463
commit 8db572f1ec
13 changed files with 337 additions and 38 deletions

View file

@ -10,6 +10,7 @@ import (
cModel "donetick.com/core/internal/circle/model"
nModel "donetick.com/core/internal/notifier/model"
pModel "donetick.com/core/internal/points"
stModel "donetick.com/core/internal/subtask/model"
tModel "donetick.com/core/internal/thing/model"
uModel "donetick.com/core/internal/user/model" // Pure go SQLite driver, checkout https://github.com/glebarez/sqlite for details
migrations "donetick.com/core/migrations"
@ -37,6 +38,7 @@ func Migration(db *gorm.DB) error {
chModel.ChoreLabels{},
migrations.Migration{},
pModel.PointsHistory{},
stModel.SubTask{},
); err != nil {
return err
}