Merge branch 'fronkdev' into 'master'
VoiceCallHistoryController::addContractIds() storing ignore nums in db See merge request fronk/thetool!2082
This commit is contained in:
31
db/migrations/20260203131918_system_change_value_text.php
Normal file
31
db/migrations/20260203131918_system_change_value_text.php
Normal 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") {
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user