<?php
declare(strict_types=1);
namespace Boldr\Cms\OpeningHoursBundle\Migrations;
use Doctrine\DBAL\Schema\Schema;
use Boldr\Cms\CmsBundle\BoldrCmsMigration;
class Version2__11_0 extends BoldrCmsMigration
{
public function getBundle(): string { return 'boldr/opening-hours-bundle'; }
public function getVersion(): ?string { return '2.11.0'; }
public function up(Schema $schema): void
{
// this up() migration is auto-generated, please modify it to your needs
$this->addSql('ALTER TABLE opening_hours_set ADD by_appointment LONGTEXT NOT 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 opening_hours_set DROP by_appointment');
}
}