<?php
declare(strict_types=1);
namespace Boldr\Cms\CmsBundle\Migrations;
use Boldr\Cms\CmsBundle\BoldrCmsMigration;
use Doctrine\DBAL\Schema\Schema;
final class Version1_7_0 extends BoldrCmsMigration
{
public function getBundle(): string { return 'boldr/cms-bundle'; }
public function getVersion(): ?string { return '1.7.0'; }
public function getDescription(): string
{
return '';
}
public function up(Schema $schema): void
{
$this->addSql('ALTER TABLE cms_page ADD time_last_updated DATETIME NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT \'(DC2Type:datetime_immutable)\'');
$this->addSql('ALTER TABLE cms_page ADD type VARCHAR(255) DEFAULT NULL');
}
}