<?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 Version20220630131916 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 annotationobject ADD title_en VARCHAR(255) DEFAULT NULL, ADD description_de LONGTEXT DEFAULT NULL, ADD description_en LONGTEXT DEFAULT NULL, DROP description, CHANGE title title_de VARCHAR(255) NOT NULL');
}
public function down(Schema $schema): void
{
// this down() migration is auto-generated, please modify it to your needs
$this->addSql('ALTER TABLE annotationobject ADD description LONGTEXT NOT NULL, DROP title_en, DROP description_de, DROP description_en, CHANGE title_de title VARCHAR(255) NOT NULL');
}
}