getEnvironment() == "thetool") { $table = $this->table('ConstructionConsent'); $table->addColumn('deferred', 'boolean', ['null' => true, 'default' => false]) ->save(); } } public function down(): void { if ($this->getEnvironment() == "thetool") { $table = $this->table('ConstructionConsent'); $table->removeColumn('deferred') ->save(); } } } // ALTER TABLE `ConstructionConsent` ADD COLUMN `deferred` BOOLEAN NULL DEFAULT FALSE AFTER `text`;