addSql('ALTER TABLE notification ADD read_at DATETIME DEFAULT NULL COMMENT \'(DC2Type:datetime_immutable)\', CHANGE is_accepted is_read TINYINT(1) DEFAULT NULL'); } public function down(Schema $schema): void { // this down() migration is auto-generated, please modify it to your needs $this->addSql('ALTER TABLE notification DROP read_at, CHANGE is_read is_accepted TINYINT(1) DEFAULT NULL'); } }