From d14653829e5cc7275f689dfbe2b31f48788d10cc Mon Sep 17 00:00:00 2001 From: DariusIII Date: Sun, 12 May 2024 19:27:25 +0200 Subject: [PATCH] Add migration for uuid column --- ...6_add_uuid_column_to_failed_jobs_table.php | 28 +++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 database/migrations/2024_05_12_192646_add_uuid_column_to_failed_jobs_table.php diff --git a/database/migrations/2024_05_12_192646_add_uuid_column_to_failed_jobs_table.php b/database/migrations/2024_05_12_192646_add_uuid_column_to_failed_jobs_table.php new file mode 100644 index 000000000..a437981b7 --- /dev/null +++ b/database/migrations/2024_05_12_192646_add_uuid_column_to_failed_jobs_table.php @@ -0,0 +1,28 @@ +string('uuid')->unique(); + }); + } + + /** + * Reverse the migrations. + */ + public function down(): void + { + Schema::table('failed_jobs', function (Blueprint $table) { + $table->dropColumn('uuid'); + }); + } +};