<?php

declare(strict_types=1);

namespace DoctrineMigrations;

use Doctrine\DBAL\Schema\Schema;
use Doctrine\Migrations\AbstractMigration;

final class Version20260226183000 extends AbstractMigration
{
    public function getDescription(): string
    {
        return 'Add site validation flag to work hours';
    }

    public function up(Schema $schema): void
    {
        $this->addSql('ALTER TABLE work_hours ADD is_site_valid BOOLEAN DEFAULT FALSE NOT NULL');
    }

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