added alert flag and variation flag

This commit is contained in:
2026-07-19 15:06:18 +02:00
parent 4e61426be7
commit 58af735082
10 changed files with 180 additions and 27 deletions
@@ -0,0 +1,22 @@
<?php
declare(strict_types=1);
use Phinx\Migration\AbstractMigration;
final class EnableAttivaAlertOnExisting extends AbstractMigration
{
public function up(): void
{
$this->execute("UPDATE `scad_deadlines`
SET `attiva_alert` = 1
WHERE `status` = 'active'");
}
public function down(): void
{
$this->execute("UPDATE `scad_deadlines`
SET `attiva_alert` = 0
WHERE `status` = 'active'");
}
}