// Create a local PouchDB database
var db = new PouchDB("smart-meter");
// Delete the database
db.destroy().then(function() {
  console.log("Database created");
}).catch(function(error) {
  console.log(error);
});

@@ -65,16 +65,49 @@
 eter%22);%0A
+console.log(%22Database created%22);%0A
 // Delet
@@ -172,29 +172,31 @@
 g(%22Database 
-creat
+destroy
 ed%22);%0A%7D).cat

Fix example