code: function(params) {
                  if (params) {
                      var storage = params.storage,
                          queue = params.queue;
                  }
  
                  if (storage) {
                      if (db) {
                          db.close();
                      }
  
                      var chatCacheDB = new Dexie('podChat');
                      if (chatCacheDB) {
                          chatCacheDB.delete()
                              .then(function() {
                                  console.log('PodChat Database successfully deleted!');
                                  db.open();
                              })
                              .catch(function(err) {
                                  console.log(err);
                              });
                      }
                  }
  
                  if (queue) {
                      if (queueDb) {
                          queueDb.close();
                      }
  
                      var queueDb = new Dexie('podQueues');
                      if (queueDb) {
                          queueDb.delete()
                              .then(function() {
                                  console.log('PodQueues Database successfully deleted!');
                                  queueDb.open();
                              })
                              .catch(function(err) {
                                  console.log(err);
                              });
                      }
                  }
              }
docs: *****************************************************
  P R I V A T E   M E T H O D S            *
  *****************************************************