<?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 Version20260716124039 extends AbstractMigration
{
    public function getDescription(): string
    {
        return 'Add require_visit_price flag to entity_insurance_pricing (free-visit row)';
    }

    public function up(Schema $schema): void
    {
        $this->addSql('ALTER TABLE entity_insurance_pricing ADD require_visit_price TINYINT DEFAULT 0 NOT NULL');
    }

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