<?php
declare(strict_types=1);
namespace DoctrineMigrations;
use App\Helper\EnumType\PaymentType;
use Doctrine\DBAL\Schema\Schema;
use Doctrine\Migrations\AbstractMigration;
/**
* Auto-generated Migration: Please modify to your needs!
*/
final class Version20230905121154 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 refill ADD date_start TIMESTAMP(0) WITHOUT TIME ZONE DEFAULT NULL');
$this->addSql('ALTER TABLE refill ADD date_end TIMESTAMP(0) WITHOUT TIME ZONE DEFAULT NULL');
$this->addSql('ALTER TABLE refill ADD description VARCHAR(2047) DEFAULT NULL');
}
public function down(Schema $schema): void
{
// this down() migration is auto-generated, please modify it to your needs
$this->addSql('ALTER TABLE refill DROP date_start');
$this->addSql('ALTER TABLE refill DROP date_end');
$this->addSql('ALTER TABLE refill DROP description');
}
}