<?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 Version20260729155428 extends AbstractMigration
{
    public function getDescription(): string
    {
        return 'Let an appointment carry a supplementary insurance next to its basic one, so the confirm step can bill both in chain.';
    }

    public function up(Schema $schema): void
    {
        $this->addSql('ALTER TABLE appointments ADD insurance_supplementary_id INT DEFAULT NULL');
    }

    public function down(Schema $schema): void
    {
        $this->addSql('ALTER TABLE appointments DROP insurance_supplementary_id');
    }
}
