migrations/Version20240602095940.php line 1
<?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 Version20240602095940 extends AbstractMigration
{
public function getDescription(): string
{
return '';
}
public function up(Schema $schema): void
{
$alter = <<<SQL
ALTER TABLE `assistant` DROP COLUMN `session_id`;
ALTER TABLE `assistant` ADD COLUMN `name` VARCHAR(255) NOT NULL DEFAULT '';
SQL;
$this->addSql($alter);
}
public function down(Schema $schema): void
{
// this down() migration is auto-generated, please modify it to your needs
}
}