<?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 Version20240405231408 extends AbstractMigration
{
public function getDescription(): string
{
return 'Add the sender and attachments columns to notification_customer';
}
public function up(Schema $schema): void
{
$this->addSql('ALTER TABLE notification_customer ADD sender VARCHAR(100)');
$this->addSql("ALTER TABLE notification_customer ADD attachments LONGTEXT DEFAULT NULL");
}
public function down(Schema $schema): void
{
$this->addSql('ALTER TABLE notification_customer DROP sender');
$this->addSql('ALTER TABLE notification_customer DROP attachments');
}
}