Merge branch 'fronkdev' into 'master'

PreorderstatusJournal & preorder flags -> ADBHausnummer flags sync

See merge request fronk/thetool!1739
This commit is contained in:
Frank Schubert
2025-09-10 15:41:55 +00:00
11 changed files with 486 additions and 65 deletions
@@ -0,0 +1,36 @@
<?php
declare(strict_types=1);
use Phinx\Migration\AbstractMigration;
final class PreorderstatusJournal extends AbstractMigration
{
public function up(): void
{
if($this->getEnvironment() == "thetool") {
$table = $this->table("PreorderstatusJournal");
$table->addColumn("preorder_id", "integer", ["null" => false]);
$table->addColumn("text", "text", ["null" => false]);
$table->addColumn("create_by", "integer", ["null" => false]);
$table->addColumn("edit_by", "integer", ["null" => false]);
$table->addColumn("create", "integer", ["null" => false]);
$table->addColumn("edit", "integer", ["null" => false]);
$table->create();
}
if($this->getEnvironment() == "addressdb") {
}
}
public function down(): void
{
if($this->getEnvironment() == "thetool") {
$this->table("PreorderstatusJournal")->drop()->save();
}
if($this->getEnvironment() == "addressdb") {
}
}
}