<?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 Version20220630103609 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 quotation ADD client_reference VARCHAR(255) DEFAULT NULL, ADD invert_locations TINYINT(1) DEFAULT NULL, ADD ships_in_return TINYINT(1) DEFAULT NULL, CHANGE account_code_id account_code_id INT NOT NULL');
$this->addSql('ALTER TABLE quotation_loading ADD contact_email 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 quotation DROP client_reference, DROP invert_locations, DROP ships_in_return, CHANGE account_code_id account_code_id INT DEFAULT NULL');
$this->addSql('ALTER TABLE quotation_loading DROP contact_email');
}
}