浏览代码

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