<?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 Version20210428185414 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 ADD oc_1_tempsup_s3 NUMERIC(5, 2) NOT NULL, ADD oc_1_tempsup_s2 NUMERIC(5, 2) DEFAULT NULL, ADD oc_1_tempsup_s1 NUMERIC(5, 2) DEFAULT NULL, ADD oc_1_tempinf_s3 NUMERIC(5, 2) DEFAULT NULL, ADD oc_1_tempinf_s2 NUMERIC(5, 2) DEFAULT NULL, ADD oc_1_tempinf_s1 NUMERIC(5, 2) DEFAULT NULL, ADD oc_1_tiros_s3_f NUMERIC(5, 2) DEFAULT NULL, ADD oc_1_tiros_s3_e NUMERIC(5, 2) DEFAULT NULL, ADD oc_1_tiros_s2_d NUMERIC(5, 2) DEFAULT NULL, ADD oc_1_tiros_s2_c NUMERIC(5, 2) DEFAULT NULL, ADD oc_1_tiros_s1_b NUMERIC(5, 2) DEFAULT NULL, ADD oc_1_tiros_s1_a NUMERIC(5, 2) DEFAULT NULL, ADD oc_rows INT DEFAULT NULL, ADD oc_time INT DEFAULT NULL, ADD oc_observations VARCHAR(255) DEFAULT NULL, ADD oc_2_calorsup_s3 NUMERIC(5, 2) DEFAULT NULL, ADD oc_2_calorsup_s2 NUMERIC(5, 2) DEFAULT NULL, ADD oc_2_calorsup_s1 NUMERIC(5, 2) DEFAULT NULL, ADD oc_2_temp_s3 NUMERIC(5, 2) DEFAULT NULL, ADD oc_2_temp_s2 NUMERIC(5, 2) DEFAULT NULL, ADD oc_2_temp_s1 NUMERIC(5, 2) DEFAULT NULL, ADD oc_2_tiros_s3 NUMERIC(5, 2) DEFAULT NULL, ADD oc_2_tiros_s2 NUMERIC(5, 2) DEFAULT NULL, ADD oc_2_tiros_s1 NUMERIC(5, 2) DEFAULT NULL, ADD oc_2_fan_f NUMERIC(5, 2) DEFAULT NULL, ADD oc_2_fan_d NUMERIC(5, 2) DEFAULT NULL, ADD oc_2_fan_b NUMERIC(5, 2) DEFAULT NULL, ADD doc_3_temp NUMERIC(5, 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 recipe_test DROP oc_1_tempsup_s3, DROP oc_1_tempsup_s2, DROP oc_1_tempsup_s1, DROP oc_1_tempinf_s3, DROP oc_1_tempinf_s2, DROP oc_1_tempinf_s1, DROP oc_1_tiros_s3_f, DROP oc_1_tiros_s3_e, DROP oc_1_tiros_s2_d, DROP oc_1_tiros_s2_c, DROP oc_1_tiros_s1_b, DROP oc_1_tiros_s1_a, DROP oc_rows, DROP oc_time, DROP oc_observations, DROP oc_2_calorsup_s3, DROP oc_2_calorsup_s2, DROP oc_2_calorsup_s1, DROP oc_2_temp_s3, DROP oc_2_temp_s2, DROP oc_2_temp_s1, DROP oc_2_tiros_s3, DROP oc_2_tiros_s2, DROP oc_2_tiros_s1, DROP oc_2_fan_f, DROP oc_2_fan_d, DROP oc_2_fan_b, DROP doc_3_temp');
}
}