Skip to content

Commit

Permalink
sync uuid creation column with the new upgrade
Browse files Browse the repository at this point in the history
  • Loading branch information
benounnas committed Sep 5, 2024
1 parent a41424d commit 13a0a74
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion database/migrations/create_phrases_table.php
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down

0 comments on commit 13a0a74

Please sign in to comment.