<?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 Version20240520152531 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 evenement ADD bandeau_fond VARCHAR(255) DEFAULT NULL, ADD intro_titre LONGTEXT DEFAULT NULL, ADD intro_texte LONGTEXT DEFAULT NULL');
$this->addSql('ALTER TABLE inscription ADD invite_nom VARCHAR(255) DEFAULT NULL, ADD invite_prenom VARCHAR(255) DEFAULT NULL');
}
public function down(Schema $schema): void
{
// this down() migration is auto-generated, please modify it to your needs
$this->addSql('ALTER TABLE evenement DROP bandeau_fond, DROP intro_titre, DROP intro_texte');
$this->addSql('ALTER TABLE inscription DROP invite_nom, DROP invite_prenom');
}
}