⬆️ Passe à Laravel 8

This commit is contained in:
2020-11-09 15:26:04 +01:00
parent 491fd2fa8d
commit a3a9a1f6cc
7 changed files with 1478 additions and 723 deletions

View File

@@ -0,0 +1,32 @@
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class UpdateFailedJobsLaravel8 extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::table('failed_jobs', function (Blueprint $table) {
$table->string('uuid')->after('id')->nullable()->unique();
});
}
/**
* Reverse the migrations.
*
* @return void
*/
public function down()
{
Schema::table('failed_jobs', static function (Blueprint $table) {
$table->dropColumn('uuid');
});
}
}