<?php
declare(strict_types=1);
namespace DoctrineMigrations;
use Doctrine\DBAL\Schema\Schema;
use Doctrine\Migrations\AbstractMigration;
final class Version20260907120000 extends AbstractMigration
{
public function getDescription(): string
{
return 'Add display_type to shop to switch ordering hours display between graphical and form modes';
}
public function up(Schema $schema): void
{
$this->addSql('ALTER TABLE shop ADD display_type VARCHAR(20) DEFAULT \'graphical\' NOT NULL');
}
public function down(Schema $schema): void
{
$this->addSql('ALTER TABLE shop DROP display_type');
}
}