<?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 Version20210825215012 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 ocs_category VARCHAR(255) DEFAULT NULL, ADD ocs_vendorcode VARCHAR(255) DEFAULT NULL, ADD ocs_stock INT DEFAULT NULL, ADD ocs_price NUMERIC(10, 2) DEFAULT NULL, ADD ocs_price_usd NUMERIC(10, 2) DEFAULT NULL, ADD ocs_stock_date DATETIME 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 ocs_category, DROP ocs_vendorcode, DROP ocs_stock, DROP ocs_price, DROP ocs_price_usd, DROP ocs_stock_date');
}
}