Skip to content

Commit

Permalink
sync uuid creation column with the new upgrade (#130)
Browse files Browse the repository at this point in the history
  • Loading branch information
benounnas authored Dec 22, 2024
1 parent 7b7fdf7 commit d748b2b
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 d748b2b

Please sign in to comment.