소스 검색

system regular 加入 dict_id

visuddhinanda 4 년 전
부모
커밋
5268e0e3b7
1개의 변경된 파일2개의 추가작업 그리고 1개의 파일을 삭제
  1. 2 1
      app/Console/Commands/UpgradeRegular.php

+ 2 - 1
app/Console/Commands/UpgradeRegular.php

@@ -175,10 +175,11 @@ class UpgradeRegular extends Command
 								'grammar' => $newGrammar,
 								'parent' => $word->word,
 								'factors' => "{$word->word}+[{$newEnding}]",
-								'source' => '_SYS_REGULAR_'
+								'dict_id' => '57afac99-0887-455c-b18e-67c8682158b0'
 							],
 							[
 								'id' => app('snowflake')->id(),
+								'source' => '_ROBOT_',
 								'create_time'=>(int)(microtime(true)*1000)
 							]
 						);