<?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 Version20240606104715 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 ADD deleted TINYINT(1) DEFAULT NULL, ADD `name` VARCHAR(255) NOT NULL, ADD link_text VARCHAR(255) NOT NULL, ADD sort_order VARCHAR(255) NOT NULL, ADD mime VARCHAR(128) NOT NULL, ADD url VARCHAR(512) NOT NULL, ADD url_del VARCHAR(512) DEFAULT NULL, ADD `size` INT NOT NULL, ADD signed TINYINT(1) NOT 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 DROP deleted, DROP `name`, DROP link_text, DROP sort_order, DROP mime, DROP url, DROP url_del, DROP `size`, DROP signed');
}
}