<?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 Version20220924203912 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->addSql('CREATE INDEX clicks_idx ON report_email (clicks)');
$this->addSql('CREATE INDEX clickouts_idx ON report_email (clickouts)');
$this->addSql('CREATE INDEX revenue_idx ON report_email (revenue)');
$this->addSql('CREATE INDEX commission_idx ON report_email (commission)');
$this->addSql('CREATE INDEX all_revenue_idx ON report_email (all_revenue)');
$this->addSql('CREATE INDEX all_commission_idx ON report_email (all_commission)');
$this->addSql('CREATE INDEX deal_id_idx ON report_email (deal_id)');
$this->addSql('CREATE INDEX child_id_idx ON report_email (child_id)');
$this->addSql('CREATE INDEX asin_idx ON report_email (asin)');
$this->addSql('CREATE INDEX site_idx ON report_email (site)');
$this->addSql('CREATE INDEX store_idx ON report_email (store)');
$this->addSql('CREATE INDEX network_idx ON report_email (network)');
$this->addSql('CREATE INDEX deal_old_price_idx ON report_email (deal_old_price)');
$this->addSql('CREATE INDEX deal_price_idx ON report_email (deal_price)');
$this->addSql('CREATE INDEX position_idx ON report_email (position)');
$this->addSql('CREATE INDEX email_id_idx ON report_email (email_id)');
}
public function down(Schema $schema): void
{
// this down() migration is auto-generated, please modify it to your needs
$this->addSql('DROP INDEX clicks_idx ON report_email');
$this->addSql('DROP INDEX clickouts_idx ON report_email');
$this->addSql('DROP INDEX revenue_idx ON report_email');
$this->addSql('DROP INDEX commission_idx ON report_email');
$this->addSql('DROP INDEX all_revenue_idx ON report_email');
$this->addSql('DROP INDEX all_commission_idx ON report_email');
$this->addSql('DROP INDEX deal_id_idx ON report_email');
$this->addSql('DROP INDEX child_id_idx ON report_email');
$this->addSql('DROP INDEX asin_idx ON report_email');
$this->addSql('DROP INDEX site_idx ON report_email');
$this->addSql('DROP INDEX store_idx ON report_email');
$this->addSql('DROP INDEX network_idx ON report_email');
$this->addSql('DROP INDEX deal_old_price_idx ON report_email');
$this->addSql('DROP INDEX deal_price_idx ON report_email');
$this->addSql('DROP INDEX position_idx ON report_email');
$this->addSql('DROP INDEX email_id_idx ON report_email');
}
}