From c3e9ba0a18095558ea173054ecfc2738a3bd173b Mon Sep 17 00:00:00 2001 From: Rastislav Chynoransky Date: Fri, 12 Jan 2024 01:00:43 +0000 Subject: [PATCH] add uuid column to failed jobs --- ...2_015755_add_uuid_to_failed_jobs_table.php | 31 +++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 database/migrations/2024_01_12_015755_add_uuid_to_failed_jobs_table.php diff --git a/database/migrations/2024_01_12_015755_add_uuid_to_failed_jobs_table.php b/database/migrations/2024_01_12_015755_add_uuid_to_failed_jobs_table.php new file mode 100644 index 000000000..160ff1793 --- /dev/null +++ b/database/migrations/2024_01_12_015755_add_uuid_to_failed_jobs_table.php @@ -0,0 +1,31 @@ +string('uuid') + ->after('id') + ->nullable() + ->unique(); + }); + } + + /** + * Reverse the migrations. + */ + public function down(): void + { + Schema::table('failed_jobs', function (Blueprint $table) { + $table->dropColumn('uuid'); + }); + } +};