diff --git a/Changelog b/Changelog index 98a43deeb..1a6b4f5c1 100755 --- a/Changelog +++ b/Changelog @@ -1,4 +1,5 @@ 2019-02-20 DariusIII + * Chg: Add table to track failed jobs * Fix: Add missing import of ColorCLI class. Fixes issue #897 * Chg: Update nette/neon (v2.4.3 => v3.0.0) 2019-02-19 DariusIII diff --git a/database/migrations/2019_02_20_102034_create_failed_jobs_table.php b/database/migrations/2019_02_20_102034_create_failed_jobs_table.php new file mode 100644 index 000000000..d432dff08 --- /dev/null +++ b/database/migrations/2019_02_20_102034_create_failed_jobs_table.php @@ -0,0 +1,35 @@ +bigIncrements('id'); + $table->text('connection'); + $table->text('queue'); + $table->longText('payload'); + $table->longText('exception'); + $table->timestamp('failed_at')->useCurrent(); + }); + } + + /** + * Reverse the migrations. + * + * @return void + */ + public function down() + { + Schema::dropIfExists('failed_jobs'); + } +}