<?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 Version20240606195713 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 product_file CHANGE `name` `name` VARCHAR(255) DEFAULT NULL, CHANGE link_text link_text VARCHAR(255) DEFAULT NULL, CHANGE sort_order sort_order VARCHAR(255) DEFAULT NULL, CHANGE mime mime VARCHAR(128) DEFAULT NULL, CHANGE url url VARCHAR(512) DEFAULT NULL, CHANGE `size` `size` INT DEFAULT NULL, CHANGE signed signed TINYINT(1) DEFAULT NULL, CHANGE file_type file_type VARCHAR(255) DEFAULT NULL');
}
public function down(Schema $schema): void
{
// this down() migration is auto-generated, please modify it to your needs
$this->addSql('ALTER TABLE product_file CHANGE name name VARCHAR(255) NOT NULL, CHANGE file_type file_type VARCHAR(255) NOT NULL, CHANGE link_text link_text VARCHAR(255) NOT NULL, CHANGE sort_order sort_order VARCHAR(255) NOT NULL, CHANGE mime mime VARCHAR(128) NOT NULL, CHANGE url url VARCHAR(512) NOT NULL, CHANGE size size INT NOT NULL, CHANGE signed signed TINYINT(1) NOT NULL');
}
}