getTable('visit_locations'); foreach (self::CAMEL_CASE_COLUMNS as $name) { if ($visitLocations->hasColumn($name)) { $visitLocations->dropColumn($name); } } } public function down(Schema $schema): void { // No down } public function isTransactional(): bool { return $this->connection->getDatabasePlatform()->getName() !== 'mysql'; } }