<?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 Version20230804091724 extends AbstractMigration
{
public function getDescription(): string
{
return 'Add new fields Product (supplier_wholesale_price, toulouse_wholesale_price)';
}
public function up(Schema $schema): void
{
$this->addSql('ALTER TABLE product ADD supplier_wholesale_price DOUBLE PRECISION DEFAULT NULL, ADD toulouse_wholesale_price DOUBLE PRECISION DEFAULT NULL');
}
public function down(Schema $schema): void
{
$this->addSql('ALTER TABLE product DROP supplier_wholesale_price, DROP toulouse_wholesale_price');
}
}