getEnvironment() == "thetool") { $table = $this->table('ConstructionConsentJournal'); $table->addColumn('file_id', 'integer', ['null' => true, 'after' => 'text']) ->save(); } } public function down(): void { if ($this->getEnvironment() == "thetool") { $table = $this->table('ConstructionConsentJournal'); $table->removeColumn('file_id') ->save(); } } }