getTable('external_applicable'); if ($table->hasIndex('applicable_type_value')) { $table->dropIndex('applicable_type_value'); } $table = $schema->getTable('external_config'); if ($table->hasIndex('config_mount')) { $table->dropIndex('config_mount'); } $table = $schema->getTable('external_options'); if ($table->hasIndex('option_mount')) { $table->dropIndex('option_mount'); } return $schema; } }