diff --git a/migrations/current_period_end.js b/migrations/current_period_end.js new file mode 100644 index 0000000000..31e33e4a79 --- /dev/null +++ b/migrations/current_period_end.js @@ -0,0 +1,5 @@ +// mongo habitrpg ./node_modules/moment/moment.js ./migrations/current_period_end.js +db.users.update( + {_id:''}, + {$set:{'purchased.plan.dateTerminated':moment().add({days:7}).toDate()}} +) \ No newline at end of file