Created
July 27, 2012 10:14
-
-
Save osoner/3187273 to your computer and use it in GitHub Desktop.
Countly - Clean server data
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
Usage; | |
$ mongo countly countly.clean.db.js | |
*/ | |
db.sessions.remove() | |
db.users.remove() | |
db.carriers.remove() | |
db.locations.remove() | |
db.realtime.remove() | |
db.app_users.remove() | |
db.devices.remove() | |
db.device_details.remove() | |
db.app_versions.remove() | |
//remove comments from below lines if you want to start over from server setup | |
//db.members.remove() | |
//db.apps.remove() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment