<?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 Version20220918212055 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('ALTER TABLE report_email ADD deal_image VARCHAR(500) DEFAULT NULL, ADD deal_id INT NOT NULL, ADD child_id INT DEFAULT NULL, ADD asin VARCHAR(100) DEFAULT NULL, ADD deal_title VARCHAR(1400) NOT NULL, ADD site VARCHAR(100) NOT NULL, ADD store VARCHAR(300) DEFAULT NULL, ADD network VARCHAR(100) DEFAULT NULL, ADD deal_old_price DOUBLE PRECISION DEFAULT NULL, ADD deal_price DOUBLE PRECISION DEFAULT NULL, ADD email_sent_at DATETIME NOT NULL, ADD position INT DEFAULT NULL, ADD email_id INT NOT NULL, ADD email_title VARCHAR(1000) NOT NULL');
}
public function down(Schema $schema): void
{
// this down() migration is auto-generated, please modify it to your needs
$this->addSql('ALTER TABLE report_email DROP deal_image, DROP deal_id, DROP child_id, DROP asin, DROP deal_title, DROP site, DROP store, DROP network, DROP deal_old_price, DROP deal_price, DROP email_sent_at, DROP position, DROP email_id, DROP email_title');
}
}