<?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 Version20250129083011 extends AbstractMigration
{
public function getDescription(): string
{
return 'Pozycje w słowniku TreeRemovalReason';
}
public function up(Schema $schema): void
{
$this->addSql('INSERT INTO dict_tree_removal_reason (id, name, code) VALUES (gen_random_uuid(), \'Stan sanitarny\', \'stan_sanitarny\')');
$this->addSql('INSERT INTO dict_tree_removal_reason (id, name, code) VALUES (gen_random_uuid(), \'Zagrożenie dla ludzi i mienia\', \'zagrozenie_dla_ludzi_i_mienia\')');
$this->addSql('INSERT INTO dict_tree_removal_reason (id, name, code) VALUES (gen_random_uuid(), \'Kolizja z istniejącą infrastrukturą\', \'kolizja_z_istniejaca_infrastruktura\')');
$this->addSql('INSERT INTO dict_tree_removal_reason (id, name, code) VALUES (gen_random_uuid(), \'Kolizja z planowaną inwestycją\', \'kolizja_z_planowana_inwestycja\')');
$this->addSql('INSERT INTO dict_tree_removal_reason (id, name, code) VALUES (gen_random_uuid(), \'Inna\', \'inna\')');
}
public function down(Schema $schema): void
{
// this down() migration is auto-generated, please modify it to your needs
}
}