public function down()
{
$tableList = $this->tables();
$this->dropTable('ansel_images');
$this->dropTable('ansel_image_attributes');
$this->dropTable('ansel_faces');
$this->dropTable('ansel_faces_index');
$this->dropTable('ansel_shares');
$this->dropTable('ansel_shares_groups');
$this->dropTable('ansel_shares_users');
$this->dropTable('ansel_images_geolocation');
if (in_array('ansel_tags', $tableList)) {
$this->dropTable('ansel_tags');
}
if (in_array('ansel_galleries_tags', $tableList)) {
$this->dropTable('ansel_galleries_tags');
}
if (in_array('ansel_images_tags', $tableList)) {
$this->dropTable('ansel_images_tags');
}
}