This repository has been archived on 2026-11-05. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
thetool/db/migrations/20230928105441_alter_rimoworkorder_createdata_mediumtext.php
T

32 lines
731 B
PHP

<?php
declare(strict_types=1);
use Phinx\Migration\AbstractMigration;
final class AlterRimoworkorderCreatedataMediumtext extends AbstractMigration
{
public function up(): void
{
if($this->getEnvironment() == "thetool") {
$table = $this->table("RimoWorkorder");
$table->changeColumn("create_data", "text", ['limit' => Phinx\Db\Adapter\MysqlAdapter::TEXT_MEDIUM]);
$table->update();
}
if($this->getEnvironment() == "addressdb") {
}
}
public function down(): void
{
if($this->getEnvironment() == "thetool") {
}
if($this->getEnvironment() == "addressdb") {
}
}
}