<?php
declare(strict_types=1);
namespace DoctrineMigrations;
use Doctrine\DBAL\Schema\Schema;
use Doctrine\Migrations\AbstractMigration;
final class Version20220707172935 extends AbstractMigration
{
public function up(Schema $schema): void
{
$this->addSql('ALTER TABLE flag ADD image VARCHAR(255) DEFAULT NULL, ADD url VARCHAR(255) DEFAULT NULL');
$this->addSql('ALTER TABLE pictogram ADD image VARCHAR(255) DEFAULT NULL, ADD url VARCHAR(255) DEFAULT NULL');
}
public function down(Schema $schema): void
{
$this->addSql('ALTER TABLE flag DROP image, DROP url');
$this->addSql('ALTER TABLE pictogram DROP image, DROP url');
}
}