diff --git a/database/migrations/2017_01_01_002000_create_failed_jobs_table.php b/database/migrations/2017_01_01_002000_create_failed_jobs_table.php index 40ca49da..c6cf6cc7 100644 --- a/database/migrations/2017_01_01_002000_create_failed_jobs_table.php +++ b/database/migrations/2017_01_01_002000_create_failed_jobs_table.php @@ -10,7 +10,7 @@ public function up() { Schema::create('failed_jobs', function (Blueprint $table) { $table->id(); - + $table->string('uuid')->unique(); $table->text('connection'); $table->text('queue'); $table->longText('payload'); diff --git a/src/Upgrades/FailedJobs.php b/src/Upgrades/FailedJobs.php new file mode 100644 index 00000000..31f1b88b --- /dev/null +++ b/src/Upgrades/FailedJobs.php @@ -0,0 +1,22 @@ +string('uuid')->after('id')->nullable()->unique(); + }); + } +}