<?php
declare(strict_types=1);
namespace Boldr\Cms\CmsBundle\Migrations;
use Boldr\Cms\CmsBundle\BoldrCmsMigration;
use Doctrine\DBAL\Schema\Schema;
final class Version1_6_0 extends BoldrCmsMigration
{
public function getBundle(): string { return 'boldr/cms-bundle'; }
public function getVersion(): ?string { return '1.6.0'; }
public function up(Schema $schema): void
{
$this->addSql('ALTER TABLE cms_page ADD serialized_layout LONGTEXT DEFAULT NULL');
$this->addSql('ALTER TABLE cms_page_translation ADD modern_sections TINYINT(1) DEFAULT \'0\' NOT NULL, CHANGE sections sections LONGTEXT NOT NULL');
}
}