Since: 3.0.0
Inheritance: extends Exceptio\Exception
 /**
  * Uninstalls the given table.
  *
  * @since 3.0.0
  *
  * @param Table $table Optional. Table object. Defaults to null.
  *
  * @return bool Whether or not the table was uninstalled successfully.
  *
  * @throws InvalidTableException if a table was neither passed, nor injected via the constructor.
  */
 public function uninstall(Table $table = null)
 {
     $table = $table ?: $this->table;
     if (!$table) {
         throw InvalidTableException::for_action('uninstall');
     }
     return false !== $this->db->query('DROP TABLE IF EXISTS ' . $table->name());
 }