<?php
declare(strict_types=1);
namespace DoctrineMigrations;
use Doctrine\DBAL\Schema\Schema;
use Doctrine\Migrations\AbstractMigration;
/**
* Auto-generated Migration: Please modify to your needs!
*/
final class Version20191121033232 extends AbstractMigration
{
public function getDescription() : string
{
return '';
}
public function up(Schema $schema) : void
{
// this up() migration is auto-generated, please modify it to your needs
$this->abortIf($this->connection->getDatabasePlatform()->getName() !== 'mysql', 'Migration can only be executed safely on \'mysql\'.');
$this->addSql('ALTER TABLE cash_account_movement RENAME INDEX idx_8c51940fd3564642 TO IDX_D46F5691D3564642');
$this->addSql('ALTER TABLE cash_account_movement RENAME INDEX idx_8c51940f2f8556b0 TO IDX_D46F56912F8556B0');
$this->addSql('ALTER TABLE cash_account_movement RENAME INDEX idx_8c51940fe56b8d3b TO IDX_D46F5691E56B8D3B');
$this->addSql('ALTER TABLE cash_account_movement RENAME INDEX idx_8c51940f9c8502e8 TO IDX_D46F56919C8502E8');
}
public function down(Schema $schema) : void
{
// this down() migration is auto-generated, please modify it to your needs
$this->abortIf($this->connection->getDatabasePlatform()->getName() !== 'mysql', 'Migration can only be executed safely on \'mysql\'.');
$this->addSql('ALTER TABLE cash_account_movement RENAME INDEX idx_d46f5691d3564642 TO IDX_8C51940FD3564642');
$this->addSql('ALTER TABLE cash_account_movement RENAME INDEX idx_d46f56919c8502e8 TO IDX_8C51940F9C8502E8');
$this->addSql('ALTER TABLE cash_account_movement RENAME INDEX idx_d46f56912f8556b0 TO IDX_8C51940F2F8556B0');
$this->addSql('ALTER TABLE cash_account_movement RENAME INDEX idx_d46f5691e56b8d3b TO IDX_8C51940FE56B8D3B');
}
}