getEnvironment() == "thetool") { $table = $this->table('PreordercampaignStatusnotificationMailtemplate'); $table->addColumn("preordercampaign_id", "integer", ["null" => false]); $table->addColumn("status_code", "integer", ["null" => false]); $table->addColumn("mailtemplate_id", "integer", ["null" => false]); $table->addColumn("create_by", "integer", ["null" => false]); $table->addColumn("edit_by", "integer", ["null" => false]); $table->addColumn("create", "integer", ["null" => false]); $table->addColumn("edit", "integer", ["null" => false]); $table->create(); } if($this->getEnvironment() == "addressdb") { } } public function down(): void { if($this->getEnvironment() == "thetool") { $this->table('PreordercampaignStatusnotificationMailtemplate')->drop()->save(); } if($this->getEnvironment() == "addressdb") { } } }