<?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 Version20221209164743 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 etudiant ADD serie_bac VARCHAR(30) DEFAULT NULL, ADD numero_table_bac VARCHAR(30) DEFAULT NULL, ADD annee_obtention_bac SMALLINT DEFAULT NULL, ADD mention_bac VARCHAR(50) DEFAULT NULL');
}
public function down(Schema $schema): void
{
// this down() migration is auto-generated, please modify it to your needs
$this->addSql('ALTER TABLE etudiant DROP serie_bac, DROP numero_table_bac, DROP annee_obtention_bac, DROP mention_bac');
}
}