<?php
declare(strict_types=1);
namespace Boldr\Cms\CmsBundle\Migrations;
use Boldr\Cms\CmsBundle\BoldrCmsMigration;
use Doctrine\DBAL\Schema\Schema;
final class Version1_7_2 extends BoldrCmsMigration
{
public function getBundle(): string { return 'boldr/cms-bundle'; }
public function getVersion(): ?string { return '1.7.2'; }
public function getDescription(): string
{
return '';
}
public function up(Schema $schema): void
{
$this->addSql('ALTER TABLE cms_menu_item ADD hidden_locales JSON DEFAULT NULL');
$this->addSql('ALTER TABLE cms_page ADD published TINYINT(1) DEFAULT \'1\' NOT NULL');
}
}