From 6250a3baaa7d1d9570c3f75e17357ea06a91e10d Mon Sep 17 00:00:00 2001 From: Frank Schubert Date: Wed, 5 Mar 2025 15:06:52 +0100 Subject: [PATCH] added Rimoworkorder remark column --- ...50304145421_rimo_workorder_add_remarks.php | 33 +++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 db/migrations/20250304145421_rimo_workorder_add_remarks.php diff --git a/db/migrations/20250304145421_rimo_workorder_add_remarks.php b/db/migrations/20250304145421_rimo_workorder_add_remarks.php new file mode 100644 index 000000000..f0a9da81e --- /dev/null +++ b/db/migrations/20250304145421_rimo_workorder_add_remarks.php @@ -0,0 +1,33 @@ +getEnvironment() == "thetool") { + $table = $this->table("RimoWorkorder"); + $table->addColumn("remarks", "text", ["null" => true, "after" => "rimo_team_name"]); + $table->update(); + } + + if($this->getEnvironment() == "addressdb") { + + } + } + + public function down(): void + { + if($this->getEnvironment() == "thetool") { + $table = $this->table("RimoWorkorder"); + $table->removeColumn("remarks"); + $table->update(); + } + + if($this->getEnvironment() == "addressdb") { + + } + } +}