<?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 Version20220829192514 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 `order` ADD sign_date_user DATETIME DEFAULT NULL, ADD sign_place_company VARCHAR(255) DEFAULT NULL, ADD sign_date_company DATETIME DEFAULT NULL, ADD product_interest DOUBLE PRECISION DEFAULT NULL, ADD product_price_total DOUBLE PRECISION DEFAULT NULL, ADD product_price_total_in_words VARCHAR(255) DEFAULT NULL, CHANGE sign_place sign_place_user VARCHAR(255) NOT NULL');
}
public function down(Schema $schema): void
{
// this down() migration is auto-generated, please modify it to your needs
$this->addSql('ALTER TABLE `order` DROP sign_date_user, DROP sign_place_company, DROP sign_date_company, DROP product_interest, DROP product_price_total, DROP product_price_total_in_words, CHANGE sign_place_user sign_place VARCHAR(255) NOT NULL');
}
}