getEnvironment() == "thetool") { $table = $this->table('AssetManagement'); $table->addColumn('description', 'text', [ 'null' => true, 'after' => 'name', ]); $table->update(); } } /** * Removes the 'description' column from the 'AssetManagement' table. */ public function down(): void { if($this->getEnvironment() == "thetool") { $table = $this->table('AssetManagement'); $table->removeColumn('description'); $table->update(); } } }