From d671f502ef6470aa50265400b0629bff79938594 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 21 Nov 2022 09:01:11 +0000 Subject: [PATCH 1/4] Bump eslint from 8.27.0 to 8.28.0 Bumps [eslint](https://github.com/eslint/eslint) from 8.27.0 to 8.28.0. - [Release notes](https://github.com/eslint/eslint/releases) - [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md) - [Commits](https://github.com/eslint/eslint/compare/v8.27.0...v8.28.0) --- updated-dependencies: - dependency-name: eslint dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- package-lock.json | 14 +++++++------- package.json | 2 +- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/package-lock.json b/package-lock.json index e3e6c626..c29c7cc9 100644 --- a/package-lock.json +++ b/package-lock.json @@ -21,7 +21,7 @@ "compression-webpack-plugin": "^10.0.0", "css-loader": "^6.7.2", "cssnano": "^5.1.14", - "eslint": "^8.27.0", + "eslint": "^8.28.0", "eslint-webpack-plugin": "^3.2.0", "mini-css-extract-plugin": "^2.7.0", "postcss": "^8.4.19", @@ -3169,9 +3169,9 @@ } }, "node_modules/eslint": { - "version": "8.27.0", - "resolved": "https://registry.npmjs.org/eslint/-/eslint-8.27.0.tgz", - "integrity": "sha512-0y1bfG2ho7mty+SiILVf9PfuRA49ek4Nc60Wmmu62QlobNR+CeXa4xXIJgcuwSQgZiWaPH+5BDsctpIW0PR/wQ==", + "version": "8.28.0", + "resolved": "https://registry.npmjs.org/eslint/-/eslint-8.28.0.tgz", + "integrity": "sha512-S27Di+EVyMxcHiwDrFzk8dJYAaD+/5SoWKxL1ri/71CRHsnJnRDPNt2Kzj24+MT9FDupf4aqqyqPrvI8MvQ4VQ==", "dev": true, "dependencies": { "@eslint/eslintrc": "^1.3.3", @@ -9442,9 +9442,9 @@ "integrity": "sha512-vbRorB5FUQWvla16U8R/qgaFIya2qGzwDrNmCZuYKrbdSUMG6I1ZCGQRefkRVhuOkIGVne7BQ35DSfo1qvJqFg==" }, "eslint": { - "version": "8.27.0", - "resolved": "https://registry.npmjs.org/eslint/-/eslint-8.27.0.tgz", - "integrity": "sha512-0y1bfG2ho7mty+SiILVf9PfuRA49ek4Nc60Wmmu62QlobNR+CeXa4xXIJgcuwSQgZiWaPH+5BDsctpIW0PR/wQ==", + "version": "8.28.0", + "resolved": "https://registry.npmjs.org/eslint/-/eslint-8.28.0.tgz", + "integrity": "sha512-S27Di+EVyMxcHiwDrFzk8dJYAaD+/5SoWKxL1ri/71CRHsnJnRDPNt2Kzj24+MT9FDupf4aqqyqPrvI8MvQ4VQ==", "dev": true, "requires": { "@eslint/eslintrc": "^1.3.3", diff --git a/package.json b/package.json index 9284d36c..aaec45be 100644 --- a/package.json +++ b/package.json @@ -17,7 +17,7 @@ "compression-webpack-plugin": "^10.0.0", "css-loader": "^6.7.2", "cssnano": "^5.1.14", - "eslint": "^8.27.0", + "eslint": "^8.28.0", "eslint-webpack-plugin": "^3.2.0", "mini-css-extract-plugin": "^2.7.0", "postcss": "^8.4.19", From 12d02454bc2db98b43c1cfb6909591a96bb93f1b Mon Sep 17 00:00:00 2001 From: Jonny Barnes Date: Mon, 21 Nov 2022 18:43:30 +0000 Subject: [PATCH 2/4] Remove old failed_jobs table --- ...21_184127_remove_old_failed_jobs_table.php | 27 +++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 database/migrations/2022_11_21_184127_remove_old_failed_jobs_table.php diff --git a/database/migrations/2022_11_21_184127_remove_old_failed_jobs_table.php b/database/migrations/2022_11_21_184127_remove_old_failed_jobs_table.php new file mode 100644 index 00000000..9c2cc1d8 --- /dev/null +++ b/database/migrations/2022_11_21_184127_remove_old_failed_jobs_table.php @@ -0,0 +1,27 @@ + Date: Mon, 21 Nov 2022 18:58:42 +0000 Subject: [PATCH 3/4] Add new failed jobs table --- ... 2022_11_21_185719_create_failed_jobs_table.php} | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) rename database/migrations/{2015_07_22_084423_create_failed_jobs_table.php => 2022_11_21_185719_create_failed_jobs_table.php} (63%) diff --git a/database/migrations/2015_07_22_084423_create_failed_jobs_table.php b/database/migrations/2022_11_21_185719_create_failed_jobs_table.php similarity index 63% rename from database/migrations/2015_07_22_084423_create_failed_jobs_table.php rename to database/migrations/2022_11_21_185719_create_failed_jobs_table.php index 16db8524..17191986 100644 --- a/database/migrations/2015_07_22_084423_create_failed_jobs_table.php +++ b/database/migrations/2022_11_21_185719_create_failed_jobs_table.php @@ -2,8 +2,9 @@ use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Schema\Blueprint; +use Illuminate\Support\Facades\Schema; -class CreateFailedJobsTable extends Migration +return new class extends Migration { /** * Run the migrations. @@ -13,11 +14,13 @@ class CreateFailedJobsTable extends Migration public function up() { Schema::create('failed_jobs', function (Blueprint $table) { - $table->increments('id'); + $table->id(); + $table->string('uuid')->unique(); $table->text('connection'); $table->text('queue'); $table->longText('payload'); - $table->timestamp('failed_at'); + $table->longText('exception'); + $table->timestamp('failed_at')->useCurrent(); }); } @@ -28,6 +31,6 @@ class CreateFailedJobsTable extends Migration */ public function down() { - Schema::drop('failed_jobs'); + Schema::dropIfExists('failed_jobs'); } -} +}; From 953f98a389e0237fd8098ae9bddbd3150f045bcf Mon Sep 17 00:00:00 2001 From: Jonny Barnes Date: Mon, 21 Nov 2022 19:07:47 +0000 Subject: [PATCH 4/4] Remove a migration that alters the failed jobs table --- ..._exception_column_to_failed_jobs_table.php | 31 ------------------- 1 file changed, 31 deletions(-) delete mode 100644 database/migrations/2016_09_06_152900_add_exception_column_to_failed_jobs_table.php diff --git a/database/migrations/2016_09_06_152900_add_exception_column_to_failed_jobs_table.php b/database/migrations/2016_09_06_152900_add_exception_column_to_failed_jobs_table.php deleted file mode 100644 index 0f0598cb..00000000 --- a/database/migrations/2016_09_06_152900_add_exception_column_to_failed_jobs_table.php +++ /dev/null @@ -1,31 +0,0 @@ -text('exception'); - }); - } - - /** - * Reverse the migrations. - * - * @return void - */ - public function down() - { - Schema::table('failed_jobs', function (Blueprint $table) { - $table->dropColumn('exception'); - }); - } -}