diff --git a/db/migrations/20250805111210_preorder_ctag_add_extref.php b/db/migrations/20250805111210_preorder_ctag_add_extref.php new file mode 100644 index 000000000..6e70b835d --- /dev/null +++ b/db/migrations/20250805111210_preorder_ctag_add_extref.php @@ -0,0 +1,35 @@ +getEnvironment() == "thetool") { + $table = $this->table("PreorderCtag"); + $table->addColumn("ext_id", "string", ["null" => true, "default" => null, "length" => 255, "after" => "service_type"]); + $table->addColumn("ext_status", "string", ["null" => true, "default" => null, "length" => 255, "after" => "ext_id"]); + $table->update(); + } + + if($this->getEnvironment() == "addressdb") { + + } + } + + public function down(): void + { + if($this->getEnvironment() == "thetool") { + $this->table("PreorderCtag") + ->removeColumn("ext_id") + ->removeColumn("ext_status") + ->update(); + } + + if($this->getEnvironment() == "addressdb") { + + } + } +}