<?php
declare(strict_types=1);
namespace DoctrineMigrations;
use Doctrine\DBAL\Schema\Schema;
use Doctrine\Migrations\AbstractMigration;
final class Version20250220101151 extends AbstractMigration
{
public function getDescription(): string
{
return '';
}
public function up(Schema $schema): void
{
$this->addSql('ALTER TABLE campaign CHANGE min_engagment_rate min_engagment_rate DOUBLE PRECISION UNSIGNED DEFAULT NULL, CHANGE max_engagment_rate max_engagment_rate DOUBLE PRECISION UNSIGNED DEFAULT NULL');
}
public function down(Schema $schema): void
{
$this->addSql('ALTER TABLE campaign CHANGE min_engagment_rate min_engagment_rate INT UNSIGNED DEFAULT NULL, CHANGE max_engagment_rate max_engagment_rate INT UNSIGNED DEFAULT NULL');
}
}