<?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 Version20210907205357 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 resmed_category VARCHAR(255) NOT NULL, ADD resmed_material_id VARCHAR(255) DEFAULT NULL, ADD resmed_vendorcode VARCHAR(255) DEFAULT NULL, ADD resmed_price NUMERIC(10, 2) DEFAULT NULL, ADD resmed_stock INT DEFAULT NULL, ADD resmed_stock_date DATETIME DEFAULT NULL, ADD resmed_price_usd NUMERIC(10, 2) 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 resmed_category, DROP resmed_material_id, DROP resmed_vendorcode, DROP resmed_price, DROP resmed_stock, DROP resmed_stock_date, DROP resmed_price_usd');
}
}