<?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 Version20240329101202 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 cardiometabolic_profiles DROP glucose');
$this->addSql('ALTER TABLE health_report_submissions CHANGE glucose fasting_blood_sugar DOUBLE PRECISION DEFAULT NULL');
}
public function down(Schema $schema): void
{
// this down() migration is auto-generated, please modify it to your needs
$this->addSql('ALTER TABLE cardiometabolic_profiles ADD glucose DOUBLE PRECISION NOT NULL');
$this->addSql('ALTER TABLE health_report_submissions CHANGE fasting_blood_sugar glucose DOUBLE PRECISION DEFAULT NULL');
}
}