eliteregistry/database/migrations/2021_04_09_085648_remove_other_ships.php

32 lines
542 B
PHP
Raw Permalink Normal View History

2021-04-09 08:59:03 +00:00
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\DB;
use Illuminate\Support\Facades\Schema;
class RemoveOtherShips extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
DB::table('elite_ships')
->where('shipClass', 'O')
->delete();
}
/**
* Reverse the migrations.
*
* @return void
*/
public function down()
{
//
}
}