getTable('properties'); if ($tableProperties->hasIndex('property_index') && $tableProperties->hasIndex('properties_path_index')) { $tableProperties->dropIndex('property_index'); } return $schema; } }