Merge branch 'fronkdev' into 'master'

VoiceCallHistoryController::addContractIds() storing ignore nums in db

See merge request fronk/thetool!2082
This commit is contained in:
Frank Schubert
2026-02-03 13:34:10 +00:00
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") {
}
}
}