Merge branch 'fronkdev' into 'master'

Updated wohneinheit count script

See merge request fronk/thetool!495
This commit is contained in:
Frank Schubert
2024-07-17 15:39:50 +00:00
13 changed files with 1533 additions and 1264 deletions

View File

@@ -0,0 +1,31 @@
<?php
declare(strict_types=1);
use Phinx\Migration\AbstractMigration;
final class ContractLinkChangeChangeactionToVarchar extends AbstractMigration
{
public function up(): void
{
if($this->getEnvironment() == "thetool") {
$table = $this->table("ContractLink");
$table->changeColumn("change_action", "string", ["null" => true, "default" => null, "limit" => 64]);
$table->update();
}
if($this->getEnvironment() == "addressdb") {
}
}
public function down(): void
{
if($this->getEnvironment() == "thetool") {
}
if($this->getEnvironment() == "addressdb") {
}
}
}