<?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 Version20220119144556 extends AbstractMigration
{
public function getDescription(): string
{
return '';
}
public function up(Schema $schema): void
{
// Ajout de npage_a dans la table terme
$this->addSql('ALTER TABLE terme ADD npage_a INT DEFAULT NULL');
}
public function down(Schema $schema): void
{
// suppression de npage_a de la table terme
$this->addSql('ALTER TABLE terme DROP npage_a');
}
}