diff --git a/Neos.ContentRepository/Migrations/Mysql/Version20230430183156.php b/Neos.ContentRepository/Migrations/Mysql/Version20230430183156.php deleted file mode 100644 index 20c16dcad6..0000000000 --- a/Neos.ContentRepository/Migrations/Mysql/Version20230430183156.php +++ /dev/null @@ -1,48 +0,0 @@ -abortIf( - !$this->connection->getDatabasePlatform() instanceof \Doctrine\DBAL\Platforms\MysqlPlatform, - "Migration can only be executed safely on '\Doctrine\DBAL\Platforms\MysqlPlatform'." - ); - - $this->skipIf(!$schema->getTable('neos_contentrepository_domain_model_nodedata')->hasIndex('IDX_CE6515692D45FE4D') - && $schema->getTable('neos_contentrepository_domain_model_nodedata')->hasIndex('UNIQ_CE6515692D45FE4D'), - "Skipped index renaming because they are already named properly" - ); - - $this->addSql('ALTER TABLE neos_contentrepository_domain_model_nodedata DROP INDEX IDX_CE6515692D45FE4D, ADD UNIQUE INDEX UNIQ_CE6515692D45FE4D (movedto)'); - } - - public function down(Schema $schema): void - { - $this->abortIf( - !$this->connection->getDatabasePlatform() instanceof \Doctrine\DBAL\Platforms\MysqlPlatform, - "Migration can only be executed safely on '\Doctrine\DBAL\Platforms\MysqlPlatform'." - ); - - $this->skipIf($schema->getTable('neos_contentrepository_domain_model_nodedata')->hasIndex('IDX_CE6515692D45FE4D') - && !$schema->getTable('neos_contentrepository_domain_model_nodedata')->hasIndex('UNIQ_CE6515692D45FE4D'), - "Skipped index renaming because they are already named properly" - ); - - $this->addSql('ALTER TABLE neos_contentrepository_domain_model_nodedata DROP INDEX UNIQ_CE6515692D45FE4D, ADD INDEX IDX_CE6515692D45FE4D (movedto)'); - } -}