<?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 Version20260402203334 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 devis ADD submitter_siteconseil_id INT DEFAULT NULL');
        $this->addSql('ALTER TABLE devis ADD submitter_customer_id INT DEFAULT NULL');
        $this->addSql('ALTER TABLE devis ADD unsigned_pdf VARCHAR(255) DEFAULT NULL');
        $this->addSql('ALTER TABLE devis ADD signed_pdf VARCHAR(255) DEFAULT NULL');
        $this->addSql('ALTER TABLE devis ADD audit_pdf VARCHAR(255) DEFAULT NULL');
        $this->addSql('ALTER TABLE devis ADD updated_at TIMESTAMP(0) WITHOUT TIME ZONE DEFAULT NULL');
    }

    public function down(Schema $schema): void
    {
        // this down() migration is auto-generated, please modify it to your needs
        $this->addSql('ALTER TABLE devis DROP submitter_siteconseil_id');
        $this->addSql('ALTER TABLE devis DROP submitter_customer_id');
        $this->addSql('ALTER TABLE devis DROP unsigned_pdf');
        $this->addSql('ALTER TABLE devis DROP signed_pdf');
        $this->addSql('ALTER TABLE devis DROP audit_pdf');
        $this->addSql('ALTER TABLE devis DROP updated_at');
    }
}
