<?php
declare(strict_types=1);
namespace DoctrineMigrations;
use Doctrine\DBAL\Schema\Schema;
use Doctrine\Migrations\AbstractMigration;
final class Version20260714090000 extends AbstractMigration
{
public function getDescription(): string
{
return 'Add display_locations to page for header/footer/none placement';
}
public function up(Schema $schema): void
{
$this->addSql("ALTER TABLE page ADD display_locations JSON DEFAULT NULL");
}
public function down(Schema $schema): void
{
$this->addSql('ALTER TABLE page DROP display_locations');
}
}