<?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 Version20210510160833 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 recipe_test_raw_material ADD processed_quantity BIGINT DEFAULT NULL, ADD processed_percentage NUMERIC(5, 2) DEFAULT NULL, CHANGE quantity quantity BIGINT NOT NULL');
}
public function down(Schema $schema) : void
{
// this down() migration is auto-generated, please modify it to your needs
$this->addSql('ALTER TABLE recipe_test_raw_material DROP processed_quantity, DROP processed_percentage, CHANGE quantity quantity INT NOT NULL');
}
}