habitica/migrations/groups
Sabe Jones 7ea6c911cb
Better group plan member counts (#10449)
* fix(group-plans): improved member count accuracy

* fix(migration): don't leave server running after completion

* fix(migration): don't update Stripe for non-Stripe methods
Also fixes a linting issue.

* fix(lint): no comma dangle here

* fix(async): put async token in relevant spot

* fix(lint): still more linting

* fix(async): better handling for async and promises
Also adds additional logging where discrepancies are found.

* feat(migration): provide CSV output

* fix(promises): better pause/resume

* fix(migration): don't update already canceled subs

* fix(groups): also address quantity/memberCount discrepancies

* fix(migration): also log quantity issues

* fix(migration): equation was reversed

* refactor(migration): condense logic, add error catch

* fix(migration): fix root cause of failed quantity update??

* fix(lint): gratuitous parens

* fix(test): expect group to be updated db-side

* fix(migration): actually update quantities?

* fix(groups): roll back unneeded Stripe lib change, refactor migration
2018-06-15 14:49:18 -05:00
..
add-unlimited-subscription.js Upgrade tests tools and lint migrations and scripts (part 2) (#9998) 2018-02-17 18:11:24 +01:00
create-group.js Node 8 (WIP) (#9946) 2018-03-15 19:59:36 +01:00
habitrpg-jackalopes.js Node 8 (WIP) (#9946) 2018-03-15 19:59:36 +01:00
migrate-chat.js fix(pixels): Better alignment for Squirrel mounts 2018-04-24 18:37:33 +00:00
reconcile-group-plan-members.js Better group plan member counts (#10449) 2018-06-15 14:49:18 -05:00
update-groups-with-group-plans.js Node 8 (WIP) (#9946) 2018-03-15 19:59:36 +01:00