<?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 Version20230417124233 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 diet ADD proteins_min INT DEFAULT NULL, ADD proteins_max INT DEFAULT NULL, ADD fats_min INT DEFAULT NULL, ADD fats_max INT DEFAULT NULL, ADD carbohydrates_min INT DEFAULT NULL, ADD carbohydrates_max INT DEFAULT NULL, ADD salt_min INT DEFAULT NULL, ADD salt_max INT DEFAULT NULL, ADD nkt_min INT DEFAULT NULL, ADD nkt_max INT DEFAULT NULL, ADD simple_sugars_min INT DEFAULT NULL, ADD simple_sugars_max INT DEFAULT NULL, ADD fiber_min INT DEFAULT NULL, ADD fiber_max INT DEFAULT NULL');
}
public function down(Schema $schema): void
{
// this down() migration is auto-generated, please modify it to your needs
$this->addSql('ALTER TABLE diet DROP proteins_min, DROP proteins_max, DROP fats_min, DROP fats_max, DROP carbohydrates_min, DROP carbohydrates_max, DROP salt_min, DROP salt_max, DROP nkt_min, DROP nkt_max, DROP simple_sugars_min, DROP simple_sugars_max, DROP fiber_min, DROP fiber_max');
}
}