<?php
declare(strict_types=1);
namespace DoctrineMigrations;
use Doctrine\DBAL\Schema\Schema;
use Doctrine\Migrations\AbstractMigration;
/**
* Auto-generated Migration: Please modify to your needs!
*/
final class Version20260709124615 extends AbstractMigration
{
public function getDescription(): string
{
return 'Add header_visible and footer_visible fields to company table';
}
public function up(Schema $schema): void
{
$this->addSql('ALTER TABLE company ADD header_visible TINYINT(1) DEFAULT 1 NOT NULL, ADD footer_visible TINYINT(1) DEFAULT 1 NOT NULL');
}
public function down(Schema $schema): void
{
$this->addSql('ALTER TABLE company DROP header_visible, DROP footer_visible');
}
}