habitica/migrations/users
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
..
account-transfer.js misc, fix client tests 2019-10-15 15:32:53 +02:00
achievement-restore.js misc, fix client tests 2019-10-15 15:32:53 +02:00
bulk-email.js fix(bulk-email): wait 5s per 250 messages for server queue 2020-02-28 13:35:27 +00:00
full-gear.js feat(migration): script for adding all gear to a user 2020-04-06 14:29:29 +00:00
full-stable.js feat(event): April Foolin 2020-04-01 06:31:39 -05:00
pi-day.js feat(content): Pi Day 2020 2020-03-13 10:59:52 -05:00
remove-social-users-extra-data.js chore: update sub-deps and fix lint 2020-07-01 18:20:18 +02:00
tag-challenge-field-string2bool.js Bugfix challenge tags to normal tags after a challenge has ended/deleted (#12341) 2020-09-07 16:48:22 +02:00
take-this.js misc, fix client tests 2019-10-15 15:32:53 +02:00
users-to-test.js misc, fix client tests 2019-10-15 15:32:53 +02:00