<?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 Version20240903110815 extends AbstractMigration
{
public function getDescription(): string
{
return '';
}
public function up(Schema $schema): void
{
// this up() migration is auto-generated, please modify it to your needs
$this->addSql('ALTER TABLE tracker ADD facebook_test_event_code VARCHAR(255) DEFAULT NULL, ADD facebook_pixel_id VARCHAR(255) DEFAULT NULL, ADD facebook_access_token LONGTEXT DEFAULT NULL, ADD facebook_dedicated_pixel TINYINT(1) DEFAULT 0 NOT NULL');
}
public function down(Schema $schema): void
{
// this down() migration is auto-generated, please modify it to your needs
$this->addSql('ALTER TABLE tracker DROP facebook_test_event_code, DROP facebook_pixel_id, DROP facebook_access_token, DROP facebook_dedicated_pixel');
}
}