<?php declare(strict_types=1);
namespace DoctrineMigrations;
use Doctrine\DBAL\Schema\Schema;
use Doctrine\Migrations\AbstractMigration;
final class Version20240218213035 extends AbstractMigration
{
public function getDescription(): string
{
return 'Adds regexp pattern into SMS Offline configuration';
}
public function up(Schema $schema): void
{
$this->addSql('ALTER TABLE processor_credentials ADD sms_regexp_pattern VARCHAR(255) DEFAULT NULL');
}
public function down(Schema $schema): void
{
$this->addSql('ALTER TABLE processor_credentials DROP sms_regexp_pattern');
}
}