<?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 Version20240614100105 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 company ADD second_title_text_color VARCHAR(191) DEFAULT NULL, ADD second_title_text_align VARCHAR(191) DEFAULT NULL, ADD description_text_align VARCHAR(191) DEFAULT NULL');
$this->addSql('UPDATE company SET title_text_color = "#ffffff", second_title_text_color = "#1b2028", second_title_text_align = "center", description_text_align = "center";');
}
public function down(Schema $schema): void
{
// this down() migration is auto-generated, please modify it to your needs
$this->addSql('ALTER TABLE company DROP second_title_text_color, DROP second_title_text_align, DROP description_text_align');
}
}