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(); } }