<?php
declare(strict_types=1);
namespace DoctrineMigrations;
use Doctrine\DBAL\Schema\Schema;
use Doctrine\Migrations\AbstractMigration;
final class Version20230125154210 extends AbstractMigration
{
public function getDescription(): string
{
return 'remove cin constraint not null';
}
public function up(Schema $schema): void
{
$this->addSql('ALTER TABLE agent ALTER cin DROP NOT NULL');
}
}