<?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 Version20231204171910 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 fabrication_paragraph ADD pdf_name VARCHAR(255) DEFAULT NULL, ADD pdf_size INT DEFAULT NULL, ADD pdf_updated_at DATETIME DEFAULT NULL, ADD cta_link VARCHAR(255) DEFAULT NULL, ADD cta_text VARCHAR(255) DEFAULT NULL');
$this->addSql('ALTER TABLE fabrication_paragraph_translation DROP btn_url, DROP btn_title');
}
public function down(Schema $schema): void
{
// this down() migration is auto-generated, please modify it to your needs
$this->addSql('ALTER TABLE fabrication_paragraph DROP pdf_name, DROP pdf_size, DROP pdf_updated_at, DROP cta_link, DROP cta_text');
$this->addSql('ALTER TABLE fabrication_paragraph_translation ADD btn_url VARCHAR(255) CHARACTER SET utf8mb4 DEFAULT NULL COLLATE `utf8mb4_unicode_ci`, ADD btn_title VARCHAR(255) CHARACTER SET utf8mb4 DEFAULT NULL COLLATE `utf8mb4_unicode_ci`');
}
}