<?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 Version20250124121348 extends AbstractMigration
{
public function getDescription(): string
{
return '';
}
public function up(Schema $schema): void
{
$this->addSql('ALTER TABLE campaign ADD goal VARCHAR(16) DEFAULT NULL, ADD min_engagment_rate INT UNSIGNED DEFAULT NULL, ADD max_engagment_rate INT UNSIGNED DEFAULT NULL, ADD is_show_draft TINYINT(1) DEFAULT NULL');
}
public function down(Schema $schema): void
{
$this->addSql('ALTER TABLE campaign DROP goal, DROP min_engagment_rate, DROP max_engagment_rate, DROP is_show_draft');
}
}