Files
thetool/db/migrations/20240423132651_fiber_plan_pipe_drop.php
Spitzer Daniel 6310e2446e Faserplanung
* Rohrplanung Updates
 * Migrations
2024-04-23 17:09:36 +02:00

30 lines
579 B
PHP

<?php
declare(strict_types=1);
use Phinx\Migration\AbstractMigration;
final class FiberPlanPipeDrop extends AbstractMigration
{
public function up(): void
{
if($this->getEnvironment() == "thetool") {
$this->table("FiberPlanPipe")->drop()->save();
}
if($this->getEnvironment() == "addressdb") {
}
}
public function down(): void
{
if($this->getEnvironment() == "thetool") {
}
if($this->getEnvironment() == "addressdb") {
}
}
}