mirror of
https://github.com/MarijnDoeve/TijdVoorDeTest.git
synced 2026-03-06 04:44:19 +01:00
This commit adds initial importmap configuration to manage assets, updates the elimination preparation workflow with form enhancements and database changes, introduces new styles and JS assets, refines translations, and improves entity handling with an input bag update method.
39 lines
847 B
PHP
39 lines
847 B
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
namespace DoctrineMigrations;
|
|
|
|
use Doctrine\DBAL\Schema\Schema;
|
|
use Doctrine\Migrations\AbstractMigration;
|
|
|
|
final class Version20250521194035 extends AbstractMigration
|
|
{
|
|
public function getDescription(): string
|
|
{
|
|
return '';
|
|
}
|
|
|
|
public function up(Schema $schema): void
|
|
{
|
|
$this->addSql(<<<'SQL'
|
|
ALTER TABLE elimination ADD created TIMESTAMP(0) WITHOUT TIME ZONE
|
|
SQL);
|
|
$this->addSql(<<<'SQL'
|
|
UPDATE elimination SET created = NOW()
|
|
SQL
|
|
);
|
|
$this->addSql(<<<'SQL'
|
|
ALTER TABLE elimination ALTER created SET NOT NULL
|
|
SQL
|
|
);
|
|
}
|
|
|
|
public function down(Schema $schema): void
|
|
{
|
|
$this->addSql(<<<'SQL'
|
|
ALTER TABLE elimination DROP created
|
|
SQL);
|
|
}
|
|
}
|