<?php
declare(strict_types=1);
namespace PPSDKDoctrineMigrations;
use Doctrine\DBAL\Schema\Schema;
use Doctrine\Migrations\AbstractMigration;
final class Version20220220203349WebVariantLogoHeight extends AbstractMigration
{
public function getDescription(): string
{
return 'Logo display height in web variants';
}
public function up(Schema $schema): void
{
// this up() migration is auto-generated, please modify it to your needs
$this->addSql('ALTER TABLE webs_variants ADD logo_display_height INT DEFAULT 30 NOT NULL, ADD small_logo_display_height INT DEFAULT 30 NOT NULL');
}
public function down(Schema $schema): void
{
// this down() migration is auto-generated, please modify it to your needs
$this->addSql('ALTER TABLE webs_variants DROP logo_display_height, DROP small_logo_display_height');
}
}