Merge branch 'ADBWohneinheit/add-unscheduled-rollout-check' into 'master'

added rml unscheduled check

See merge request fronk/thetool!1454
This commit is contained in:
Luca Haid
2025-06-12 10:55:55 +00:00

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')