<?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 Version20240422141034 extends AbstractMigration
{
public function getDescription(): string
{
return '';
}
public function up(Schema $schema): void
{
// this up() migration is auto-generated, please modify it to your needs
$this->addSql('ALTER TABLE service ADD external_open TINYINT(1) DEFAULT 0 NOT NULL AFTER image');
$this->addSql('ALTER TABLE service ADD external_link VARCHAR(255) DEFAULT NULL AFTER external_open');
$this->addSql('ALTER TABLE service ADD external_target TINYINT(1) DEFAULT 0 NOT NULL AFTER external_link');
$this->addSql('ALTER TABLE service ADD in_header TINYINT(1) DEFAULT 1 NOT NULL AFTER active');
}
public function down(Schema $schema): void
{
// this down() migration is auto-generated, please modify it to your needs
$this->addSql('ALTER TABLE service DROP external_open, DROP external_link, DROP external_target, DROP in_header');
}
}