<?php
declare(strict_types=1);
namespace DoctrineMigrations;
use Doctrine\DBAL\Schema\Schema;
use Doctrine\Migrations\AbstractMigration;
/**
* Fill all psid fields in gemeinde table with the default value
*/
final class Version20251118070000 extends AbstractMigration
{
public function getDescription(): string
{
return 'Fill all psid fields in gemeinde table with 5714a07f-b33a-11f0-b666-04505600905b';
}
public function up(Schema $schema): void
{
$this->addSql('UPDATE gemeinde SET psid = \'5714a07f-b33a-11f0-b666-04505600905b\'');
}
public function down(Schema $schema): void
{
$this->addSql('UPDATE gemeinde SET psid = NULL');
}
}