<?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 Version20260719163834 extends AbstractMigration
{
    public function getDescription(): string
    {
        return 'Add doctors.source_profile_id (IRIMC profile UUID) for import idempotency';
    }

    public function up(Schema $schema): void
    {
        $this->addSql('ALTER TABLE doctors ADD source_profile_id VARCHAR(36) DEFAULT NULL');
    }

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