瀏覽代碼

字段名修改 gramma -> grammar

Bhikkhu-Kosalla 4 年之前
父節點
當前提交
7ceff0f8ac

+ 1 - 1
database/migrations/2022_01_28_081954_create_user_dicts_table.php

@@ -19,7 +19,7 @@ class CreateUserDictsTable extends Migration
 
 			$table->string('word',1024)->index();
 			$table->string('type',128)->nullable();
-			$table->string('gramma',128)->nullable();
+			$table->string('grammar',128)->nullable();
 			$table->string('parent',1024)->nullable();
 			$table->text('mean')->nullable();
 			$table->text('note')->nullable();

+ 1 - 1
v1/scripts/migrations/20211210160700_user_dict_copy.php

@@ -48,7 +48,7 @@ $queryInsert = "INSERT INTO ".$dest_table."
                                     id,
 									word , 
 									type, 
-									gramma,
+									grammar,
 									parent,
 									mean,
 									note,