<?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 Version20250122101755 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 form_page CHANGE config_gtm_landing_datalayer config_gtm_landing_datalayer LONGTEXT DEFAULT NULL COMMENT \'(DC2Type:json)\'');
$this->addSql('ALTER TABLE organization ADD config_hubspot_api_key VARCHAR(255) DEFAULT NULL');
$this->addSql('ALTER TABLE static_page CHANGE config_gtm_datalayer config_gtm_datalayer LONGTEXT DEFAULT NULL COMMENT \'(DC2Type:json)\', CHANGE config_gtm_landing_datalayer config_gtm_landing_datalayer LONGTEXT DEFAULT NULL COMMENT \'(DC2Type:json)\'');
}
public function down(Schema $schema): void
{
// this down() migration is auto-generated, please modify it to your needs
$this->addSql('ALTER TABLE form_page CHANGE config_gtm_landing_datalayer config_gtm_landing_datalayer LONGTEXT DEFAULT NULL COLLATE `utf8mb4_bin`');
$this->addSql('ALTER TABLE organization DROP config_hubspot_api_key');
$this->addSql('ALTER TABLE static_page CHANGE config_gtm_datalayer config_gtm_datalayer LONGTEXT DEFAULT NULL COLLATE `utf8mb4_bin`, CHANGE config_gtm_landing_datalayer config_gtm_landing_datalayer LONGTEXT DEFAULT NULL COLLATE `utf8mb4_bin`');
}
}