added rml unscheduled check
This commit is contained in:
@@ -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')
|
||||
|
||||
Reference in New Issue
Block a user