<?php
declare(strict_types=1);
namespace DoctrineMigrations;
use Doctrine\DBAL\Schema\Schema;
use Doctrine\Migrations\AbstractMigration;
final class Version20250607155634 extends AbstractMigration
{
public function getDescription(): string
{
return 'DROP SOME COLUMNS FROM DOSSIER_INSCRIPTION TABLE';
}
public function up(Schema $schema): void
{
$this->addSql('ALTER TABLE mmpp_dossier_inscription DROP licence_selected_changed, DROP num_student, DROP group_fac');
}
public function down(Schema $schema): void
{
$this->addSql('ALTER TABLE mmpp_dossier_inscription ADD licence_selected_changed VARCHAR(255) DEFAULT NULL, ADD num_student VARCHAR(255) DEFAULT NULL, ADD group_fac VARCHAR(255) DEFAULT NULL');
}
}