<?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 Version20260131103521 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 order_session ADD billing_address VARCHAR(255) DEFAULT NULL');
        $this->addSql('ALTER TABLE order_session ADD billing_zip_code VARCHAR(255) DEFAULT NULL');
        $this->addSql('ALTER TABLE order_session ADD billing_town VARCHAR(255) DEFAULT NULL');
        $this->addSql('ALTER TABLE order_session ADD adress_event VARCHAR(255) DEFAULT NULL');
        $this->addSql('ALTER TABLE order_session ADD adress2_event VARCHAR(255) DEFAULT NULL');
        $this->addSql('ALTER TABLE order_session ADD adress3_event VARCHAR(255) DEFAULT NULL');
        $this->addSql('ALTER TABLE order_session ADD zip_code_event VARCHAR(255) DEFAULT NULL');
        $this->addSql('ALTER TABLE order_session ADD town_event VARCHAR(255) DEFAULT NULL');
        $this->addSql('ALTER TABLE order_session ADD type VARCHAR(255) DEFAULT NULL');
        $this->addSql('ALTER TABLE order_session ADD details TEXT DEFAULT NULL');
        $this->addSql('ALTER TABLE order_session ADD type_sol VARCHAR(255) DEFAULT NULL');
        $this->addSql('ALTER TABLE order_session ADD pente VARCHAR(255) DEFAULT NULL');
        $this->addSql('ALTER TABLE order_session ADD access TEXT DEFAULT NULL');
        $this->addSql('ALTER TABLE order_session ADD distance_power DOUBLE PRECISION DEFAULT NULL');
    }

    public function down(Schema $schema): void
    {
        // this down() migration is auto-generated, please modify it to your needs
        $this->addSql('CREATE SCHEMA public');
        $this->addSql('ALTER TABLE order_session DROP billing_address');
        $this->addSql('ALTER TABLE order_session DROP billing_zip_code');
        $this->addSql('ALTER TABLE order_session DROP billing_town');
        $this->addSql('ALTER TABLE order_session DROP adress_event');
        $this->addSql('ALTER TABLE order_session DROP adress2_event');
        $this->addSql('ALTER TABLE order_session DROP adress3_event');
        $this->addSql('ALTER TABLE order_session DROP zip_code_event');
        $this->addSql('ALTER TABLE order_session DROP town_event');
        $this->addSql('ALTER TABLE order_session DROP type');
        $this->addSql('ALTER TABLE order_session DROP details');
        $this->addSql('ALTER TABLE order_session DROP type_sol');
        $this->addSql('ALTER TABLE order_session DROP pente');
        $this->addSql('ALTER TABLE order_session DROP access');
        $this->addSql('ALTER TABLE order_session DROP distance_power');
    }
}
