<?php

declare(strict_types=1);

namespace DoctrineMigrations;

use Doctrine\DBAL\Schema\Schema;
use Doctrine\Migrations\AbstractMigration;

final class Version20260427211500 extends AbstractMigration
{
    public function getDescription(): string
    {
        return 'Ajoute trois images de présentation publiques aux madrassas.';
    }

    public function up(Schema $schema): void
    {
        $this->addSql('ALTER TABLE ecoles ADD presentation_image1 VARCHAR(255) DEFAULT NULL, ADD presentation_image2 VARCHAR(255) DEFAULT NULL, ADD presentation_image3 VARCHAR(255) DEFAULT NULL');
    }

    public function down(Schema $schema): void
    {
        $this->addSql('ALTER TABLE ecoles DROP presentation_image1, DROP presentation_image2, DROP presentation_image3');
    }
}
