habitica-self-host/migrations
tsukimi2 b0786647ed
Bugfix challenge tags to normal tags after a challenge has ended/deleted (#12341)
* Fix bug in challenge tags not converted to normal tags after challenge ended/deleted

* Added test cases to test bug fix

* Set tag.challenge from String to Boolean in tag model schema

* Update existing test with tag challenge set to boolean instead of string

* Added migration file for converting tag challenge field from string to bool

* Implement suggestions from ilnt

* Use mongoose instead of Mock in migration

* Change from update to bulkwrite

* update users individually

Co-authored-by: Matteo Pagliazzi <matteopagliazzi@gmail.com>
2020-09-07 16:48:22 +02:00
..
archive feat(content): golden achievements 2020-08-18 15:13:06 -05:00
challenges Prevent duplicate challenge tasks (#11502) 2019-12-13 14:14:57 +01:00
command-line chore: update sub-deps and fix lint 2020-07-01 18:20:18 +02:00
docs fix(classes): remove winter preview 2018-02-02 01:49:33 +00:00
groups chore: update sub-deps and fix lint 2020-07-01 18:20:18 +02:00
tasks Reward with negative cost can no longer be created, fixes #11855 (#11870) 2020-03-24 12:10:10 +01:00
users Bugfix challenge tags to normal tags after a challenge has ended/deleted (#12341) 2020-09-07 16:48:22 +02:00
utils misc, fix client tests 2019-10-15 15:32:53 +02:00
.eslintrc.js misc, fix client tests 2019-10-15 15:32:53 +02:00
csvexport.py CSV Export supports null values 2013-06-03 23:08:42 +01:00
migration-runner.js fix(migrations): better dummy require 2020-07-31 14:52:08 -05:00
new_stuff.js misc, fix client tests 2019-10-15 15:32:53 +02:00
restock_armoire.js misc, fix client tests 2019-10-15 15:32:53 +02:00
restock_armoire_for_users_that_need_it.js chore: update sub-deps and fix lint 2020-07-01 18:20:18 +02:00
restore-profile-data.js chore: update sub-deps and fix lint 2020-07-01 18:20:18 +02:00