/** * Reverse the migrations. * * @return void */ public function down() { if (env('APP_ENV') !== 'spira-core-testing') { return true; } Schema::drop(TestEntity::getTableName()); }