From e569d4fa13f366aa85ca046cf6b2727abd40d081 Mon Sep 17 00:00:00 2001 From: Luca Haid Date: Fri, 24 Oct 2025 07:32:59 +0000 Subject: [PATCH] fixed migration --- db/migrations/20251024091253_preorder_add_files.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/db/migrations/20251024091253_preorder_add_files.php b/db/migrations/20251024091253_preorder_add_files.php index ab6b0ca14..1b604a80c 100644 --- a/db/migrations/20251024091253_preorder_add_files.php +++ b/db/migrations/20251024091253_preorder_add_files.php @@ -6,9 +6,9 @@ use Phinx\Migration\AbstractMigration; final class PreorderAddFiles extends AbstractMigration { public function up(): void { if($this->getEnvironment() == "thetool") { - $Preorder = $this->table("Preorder"); - $Preorder->addColumn("files", "text", ['null' => true, 'after' => 'note']);s - $Preorder->update(); + $table = $this->table("Preorder"); + $table->addColumn("files", "text", ['null' => true, 'after' => 'note']);s + $table->update(); } }