eOSP2/database/migrations/x/2019_11_07_230105_create_ve...

35 lines
620 B
PHP

<?php
use Illuminate\Support\Facades\Schema;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class addSoftDeletes_to_vechiles extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
public function up()
{
Schema::table('vehicles', function (Blueprint $table) {
//
$table->softDeletes();
});
}
}
/**
* Reverse the migrations.
*
* @return void
*/
public function down()
{
Schema::dropIfExists('vehicles');
}
}