Skip to content

Instantly share code, notes, and snippets.

@kingluddite
Last active August 29, 2015 14:01
Show Gist options
  • Save kingluddite/375377286ef25dd63bce to your computer and use it in GitHub Desktop.
Save kingluddite/375377286ef25dd63bce to your computer and use it in GitHub Desktop.
/* /server/utility.js */
Meteor.startup(function () {
Meteor.methods({
removeAllProjects:function() {
Projects.remove({});
}
});
});
@kingluddite
Copy link
Author

you can use the chrome console and type:
Meteor.call('removeAllProjects');
Try it and see all your data disappear.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment