migrations/Version20250916120000.php line 1
<?phpdeclare(strict_types=1);namespace DoctrineMigrations;use Doctrine\DBAL\Schema\Schema;use Doctrine\Migrations\AbstractMigration;/*** Auto-generated Migration: Please modify to your needs!*/final class Version20250916120000 extends AbstractMigration{public function getDescription(): string{return 'Add is_read column to pre_consultation_message table';}public function up(Schema $schema): void{// this up() migration is auto-generated, please modify it to your needs$this->addSql('ALTER TABLE pre_consultation_message ADD is_read TINYINT(1) DEFAULT 0 NOT NULL');$this->addSql('ALTER TABLE complement_conseiller ADD COLUMN user_state_override INT NULL');$this->addSql('CREATE INDEX idx_complement_conseiller_user_state_override ON complement_conseiller(user_state_override)');}public function down(Schema $schema): void{// this down() migration is auto-generated, please modify it to your needs$this->addSql('ALTER TABLE pre_consultation_message DROP is_read');}}