mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-18 15:17:25 +01:00
Habits: store one history entry per day (#10442)
* initial refactor * add scoredUp and scoredDown values for habits history entries, one entry per habit per day * fix lint and add initial migration * update old test * remove scoreNotes * dry run for migration * migration fixes * update migration and remove old test * fix * add challenges migration (read only) * fix challenges migration * handle custom day start * update tasks in migration * scoring: support cds * add new test
This commit is contained in:
@@ -499,8 +499,8 @@ let schema = new Schema({
|
||||
streak: {type: Boolean, default: false},
|
||||
},
|
||||
tasks: {
|
||||
groupByChallenge: {type: Boolean, default: false},
|
||||
confirmScoreNotes: {type: Boolean, default: false},
|
||||
groupByChallenge: {type: Boolean, default: false}, // @TODO remove? not used
|
||||
confirmScoreNotes: {type: Boolean, default: false}, // @TODO remove? not used
|
||||
},
|
||||
improvementCategories: {
|
||||
type: Array,
|
||||
|
||||
Reference in New Issue
Block a user