added rml unscheduled check

This commit is contained in:
Luca Haid
2025-06-12 12:55:47 +02:00
parent 319e4ae66d
commit a4838d204b

View File

@@ -8,10 +8,6 @@ final class AddNewIndexesThetool extends AbstractMigration
public function up(): void
{
if ($this->getEnvironment() == "thetool") {
$workerPermission = $this->table("WorkerPermission");
$workerPermission->addColumn("canADBExtended", "enum", ["null" => false, "values" => 'false,true', "default" => "false", "after" => "canSuperexpert"])
->update();
$network = $this->table("Network");
$network->addIndex('adb_netzgebiet_id', ['name' => 'idx_adb_netzgebiet_id'])
->addIndex('owner_id', ['name' => 'idx_owner_id'])
@@ -22,10 +18,6 @@ final class AddNewIndexesThetool extends AbstractMigration
public function down(): void
{
if ($this->getEnvironment() == "thetool") {
$workerPermission = $this->table("WorkerPermission");
$workerPermission->removeColumn("canADBExtended")
->save();
$network = $this->table("Network");
$network->removeIndexByName('idx_adb_netzgebiet_id')
->removeIndexByName('idx_owner_id')