From 13a0a74730fe0c51bb780165ba4b2b676d849d03 Mon Sep 17 00:00:00 2001 From: benounnas oussama Date: Thu, 5 Sep 2024 11:30:15 +0100 Subject: [PATCH] sync uuid creation column with the new upgrade --- database/migrations/create_phrases_table.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/database/migrations/create_phrases_table.php b/database/migrations/create_phrases_table.php index 43173b1..5011cb1 100644 --- a/database/migrations/create_phrases_table.php +++ b/database/migrations/create_phrases_table.php @@ -21,7 +21,7 @@ public function up(): void { Schema::create('ltu_phrases', function (Blueprint $table) { $table->id(); - $table->uuid(); + $table->char('uuid', 36);; $table->foreignIdFor(Translation::class)->constrained('ltu_translations')->cascadeOnDelete(); $table->foreignIdFor(TranslationFile::class)->constrained('ltu_translation_files')->cascadeOnDelete(); $table->foreignIdFor(Phrase::class)->nullable()->constrained('ltu_phrases')->cascadeOnDelete();