<?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 Version20230711040302 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 product ADD gsm INT DEFAULT NULL, ADD caliper_microns INT DEFAULT NULL, ADD dimension1 INT DEFAULT NULL, ADD dimension2 INT DEFAULT NULL, ADD broken_rate NUMERIC(10, 2) DEFAULT NULL, ADD packet_rate NUMERIC(10, 2) DEFAULT NULL, ADD packet_qty INT DEFAULT NULL, ADD bulk_rate NUMERIC(10, 2) DEFAULT NULL, ADD bulk_qty VARCHAR(255) DEFAULT NULL, ADD pricing_units INT DEFAULT NULL, ADD sheet_reel_envelope 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 product DROP gsm, DROP caliper_microns, DROP dimension1, DROP dimension2, DROP broken_rate, DROP packet_rate, DROP packet_qty, DROP bulk_rate, DROP bulk_qty, DROP pricing_units, DROP sheet_reel_envelope');
}
}