Meteor app — resetting a deployed app's DB
one way is to login to the mongo instance yourself and delete the relevant dataso something like per collection:
$ meteor mongo APP.meteor.com> db.users.drop()> db.xxx.drop()
you could just drop the whole DB, but that would confuse their env and you have to --delete
the app and re-deploy anyway.
> db.dropDatabase()
I know this is a bit old, but I just changed my collection name. so in your /lib/collections.js
file,
someCollection = new Mongo.Collection("originalcollection");
becomes
someCollection = new Mongo.Collection("newcollectionname");
this is assuming of course that your app generates the data for the database.