VoiceCallHistoryController::addContractIds() storing ignore nums in db

This commit is contained in:
Frank Schubert
2026-02-03 14:33:35 +01:00
parent 00926fe3bd
commit cf88bef333
2 changed files with 40 additions and 52 deletions

View File

@@ -0,0 +1,31 @@
<?php
declare(strict_types=1);
use Phinx\Migration\AbstractMigration;
final class SystemChangeValueText extends AbstractMigration
{
public function up(): void
{
if($this->getEnvironment() == "thetool") {
$table = $this->table('System');
$table->changeColumn("value", "text", ["null" => false, "length" => Phinx\Db\Adapter\MysqlAdapter::TEXT_MEDIUM]);
$table->save();
}
if($this->getEnvironment() == "addressdb") {
}
}
public function down(): void
{
if($this->getEnvironment() == "thetool") {
}
if($this->getEnvironment() == "addressdb") {
}
}
}