Преглед изворни кода

:bug: 删除多余的uniqid

Bhikkhu-Kosalla пре 4 година
родитељ
комит
9b3858ca48
1 измењених фајлова са 3 додато и 3 уклоњено
  1. 3 3
      database/migrations/2022_01_22_152901_create_sentences_table.php

+ 3 - 3
database/migrations/2022_01_22_152901_create_sentences_table.php

@@ -36,9 +36,9 @@ class CreateSentencesTable extends Migration
             $table->bigInteger('id')->primary();
 
 			$table->string('uid',36)->uniqid()->index();
-			$table->string('parent_uid',36)->nullable()->uniqid()->index();
-			$table->string('block_uid',36)->nullable()->uniqid()->index();
-			$table->string('channel_uid',36)->nullable()->uniqid()->index();
+			$table->string('parent_uid',36)->nullable()->index();
+			$table->string('block_uid',36)->nullable()->index();
+			$table->string('channel_uid',36)->nullable()->index();
 			$table->integer('book_id');
 			$table->integer('paragraph');
 			$table->integer('word_start');