<?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 Version20220825085320 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 info ADD link_buses VARCHAR(255) NOT NULL');
$this->addSql('ALTER TABLE info ADD link_services VARCHAR(255) NOT NULL');
$this->addSql('ALTER TABLE info ADD link_spare_parts VARCHAR(255) NOT NULL');
$this->addSql('ALTER TABLE info ADD link_spare_parts_warranty VARCHAR(255) NOT NULL');
$this->addSql('ALTER TABLE info ADD link_online_store VARCHAR(255) NOT NULL');
$this->addSql('ALTER TABLE info ADD link_technical_assistance VARCHAR(255) NOT NULL');
$this->addSql('ALTER TABLE info ADD link_after_sales_trucks VARCHAR(255) NOT NULL');
$this->addSql('ALTER TABLE info ADD link_after_sales_buses VARCHAR(255) NOT NULL');
$this->addSql('ALTER TABLE info ADD link_claim_trucks VARCHAR(255) DEFAULT NULL');
$this->addSql('ALTER TABLE info ADD link_claim_buses VARCHAR(255) DEFAULT NULL');
}
public function down(Schema $schema): void
{
// this down() migration is auto-generated, please modify it to your needs
$this->addSql('ALTER TABLE info DROP link_buses, DROP link_services, DROP link_spare_parts, DROP link_spare_parts_warranty, DROP link_online_store, DROP link_technical_assistance, DROP link_after_sales_trucks, DROP link_after_sales_buses, DROP link_claim_trucks, DROP link_claim_buses');
}
}