Forms gained steps, conditions, image choices, number fields with units and a summary step; the DEEG price finder uses all of it. Plugins are manifest plus Twig: blocks, settings, containers, routes, presets and theme packs, switched per installation. The review backlog is done: archive pages render through the normal page pipeline, forms and post lists work inside areas and sections, repeated sections get their own ids, breakpoints and colours come from the palette, backup and update work on MySQL and lock each other out. The task worker no longer shortens a process that has no time limit: set_time_limit() sets the limit instead of extending it, which turned an unlimited CLI run into eighty seconds and killed the full test suite far away from the scheduler. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
33 lines
957 B
PHP
33 lines
957 B
PHP
<?php
|
|
|
|
namespace DoctrineMigrations;
|
|
|
|
use Doctrine\DBAL\Schema\Schema;
|
|
use Doctrine\Migrations\AbstractMigration;
|
|
|
|
final class Version20260916000100 extends AbstractMigration
|
|
{
|
|
public function getDescription(): string
|
|
{
|
|
return 'Plugins: die Einstellungen je Erweiterung, wie sie der Betreiber in der Verwaltung setzt.';
|
|
}
|
|
|
|
public function isTransactional(): bool
|
|
{
|
|
return false;
|
|
}
|
|
|
|
public function up(Schema $schema): void
|
|
{
|
|
// Was ein Plugin einstellbar macht, steht in seinem Manifest; was der Betreiber gewaehlt
|
|
// hat, hier - als JSON, weil jedes Plugin andere Schluessel hat. Eine Spalte, kein
|
|
// Tabellenneubau: auf SQLite ist ADD COLUMN eine Zeile im Katalog.
|
|
$schema->getTable('plugin')->addColumn('settings', 'text', ['default' => '{}']);
|
|
}
|
|
|
|
public function down(Schema $schema): void
|
|
{
|
|
$schema->getTable('plugin')->dropColumn('settings');
|
|
}
|
|
}
|