<?php
declare(strict_types=1);
namespace DoctrineMigrations;
use Doctrine\DBAL\Schema\Schema;
use Doctrine\Migrations\AbstractMigration;
final class Version20250219134846 extends AbstractMigration
{
public function getDescription(): string
{
return '';
}
public function up(Schema $schema): void
{
$this->addSql('ALTER TABLE custom_instructions_message CHANGE text text LONGTEXT NOT NULL, CHANGE role role VARCHAR(6) NOT NULL');
}
public function down(Schema $schema): void
{
$this->addSql('ALTER TABLE custom_instructions_message CHANGE text text VARCHAR(255) NOT NULL, CHANGE role role VARCHAR(5) NOT NULL');
}
}