Browse Source

:bug: 删除多余的uniqid

Bhikkhu-Kosalla 4 năm trước cách đây
mục cha
commit
9b3858ca48

+ 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');