<?php

declare(strict_types=1);

namespace DoctrineMigrations;

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

final class Version20260306140000 extends AbstractMigration
{
    public function getDescription(): string
    {
        return 'Add updated_at column to work_hours table.';
    }

    public function up(Schema $schema): void
    {
        $this->addSql('ALTER TABLE work_hours ADD COLUMN updated_at TIMESTAMP(0) WITHOUT TIME ZONE DEFAULT NULL');
    }

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