Add PointsHistory model for tracking points history
This commit is contained in:
parent
8f3dd068c9
commit
c473627112
2 changed files with 6 additions and 0 deletions
|
@ -9,6 +9,7 @@ import (
|
|||
chModel "donetick.com/core/internal/chore/model"
|
||||
cModel "donetick.com/core/internal/circle/model"
|
||||
nModel "donetick.com/core/internal/notifier/model"
|
||||
pModel "donetick.com/core/internal/points"
|
||||
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"
|
||||
|
@ -35,6 +36,7 @@ func Migration(db *gorm.DB) error {
|
|||
chModel.Label{},
|
||||
chModel.ChoreLabels{},
|
||||
migrations.Migration{},
|
||||
pModel.PointsHistory{},
|
||||
); err != nil {
|
||||
return err
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue