<?php
declare(strict_types=1);
namespace CategoriesBundleMigrations;
use Doctrine\DBAL\Schema\Schema;
use Doctrine\Migrations\AbstractMigration;
final class Version20230515085848 extends AbstractMigration
{
public function up(Schema $schema): void
{
$this->addSql('ALTER TABLE categories_bundle__category CHANGE name name VARCHAR(128) NOT NULL');
}
public function down(Schema $schema): void
{
$this->addSql('ALTER TABLE categories_bundle__category CHANGE name name VARCHAR(255) NOT NULL');
}
}