<?php

declare(strict_types=1);

namespace DoctrineMigrations;

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

final class Version20260316100100 extends AbstractMigration
{
    public function getDescription(): string
    {
        return 'Add workshop_hours_minutes column to work_hours';
    }

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

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