This commit is contained in:
Martin Donnelly 2016-03-21 16:47:47 +00:00
parent 3e24bbd22f
commit c5b3640d32

View File

@ -3,23 +3,23 @@ var nano = require('nano')('http://localhost:5984');
var db_name = 'keeper';
var keeper = nano.use(db_name);
alice.destroy('_design/titles', function(err, body) {
keeper.destroy('_design/titles', function(err, body) {
if (!err)
console.log(body);
});
alice.destroy('_design/reducedView', function(err, body) {
keeper.destroy('_design/reducedView', function(err, body) {
if (!err)
console.log(body);
});
alice.destroy('_design/taglist', function(err, body) {
keeper.destroy('_design/taglist', function(err, body) {
if (!err)
console.log(body);
});
alice.destroy('_design/getAllTags', function(err, body) {
keeper.destroy('_design/getAllTags', function(err, body) {
if (!err)
console.log(body);
});
alice.destroy('_design/getTagByKey', function(err, body) {
keeper.destroy('_design/getTagByKey', function(err, body) {
if (!err)
console.log(body);
});