<?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 Version20221026172909 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 email ADD server_link TINYINT(1) DEFAULT NULL, ADD folder_name VARCHAR(70) DEFAULT NULL, CHANGE subject_line_order subject_line_order JSON DEFAULT NULL, CHANGE deals_order deals_order JSON DEFAULT NULL, CHANGE ads ads JSON DEFAULT NULL');
}
public function down(Schema $schema): void
{
// this down() migration is auto-generated, please modify it to your needs
$this->addSql('ALTER TABLE email DROP server_link, DROP folder_name, CHANGE subject_line_order subject_line_order LONGTEXT DEFAULT NULL COLLATE `utf8mb4_bin`, CHANGE deals_order deals_order LONGTEXT DEFAULT NULL COLLATE `utf8mb4_bin`, CHANGE ads ads LONGTEXT DEFAULT NULL COLLATE `utf8mb4_bin`');
}
}