<?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 Version20221205122224 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 cms_news_entry DROP main_image, DROP main_image_width, DROP main_image_height, DROP thumbnail');
}
public function down(Schema $schema): void
{
// this down() migration is auto-generated, please modify it to your needs
$this->addSql('ALTER TABLE cms_news_entry ADD main_image VARCHAR(128) DEFAULT NULL, ADD main_image_width INT DEFAULT NULL, ADD main_image_height INT DEFAULT NULL, ADD thumbnail VARCHAR(128) DEFAULT NULL');
}
}