<?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 Version20220811131156 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 printer ADD logo_name VARCHAR(255) DEFAULT NULL, ADD logo_original_name VARCHAR(255) DEFAULT NULL, ADD logo_mime_type VARCHAR(255) DEFAULT NULL, ADD logo_size INT DEFAULT NULL, ADD logo_dimensions LONGTEXT DEFAULT NULL COMMENT \'(DC2Type:simple_array)\', DROP logo');
}
public function down(Schema $schema): void
{
// this down() migration is auto-generated, please modify it to your needs
$this->addSql('ALTER TABLE printer ADD logo VARCHAR(255) NOT NULL, DROP logo_name, DROP logo_original_name, DROP logo_mime_type, DROP logo_size, DROP logo_dimensions');
}
}