浏览代码

add init:system.channel init:system.dict upgrade:dict

visuddhinanda 3 月之前
父节点
当前提交
34ec9599b3
共有 1 个文件被更改,包括 5 次插入0 次删除
  1. 5 0
      api-v13/app/Console/Commands/PostInstall.php

+ 5 - 0
api-v13/app/Console/Commands/PostInstall.php

@@ -27,7 +27,12 @@ class DeplyInit extends Command
     {
         //
         $this->info('deploy init start');
+
         $this->call('create:opensearch.index');
+        $this->call('init:system.channel');
+        $this->call('init:system.dict');
+        $this->call('upgrade:dict');
+
         $this->info('deploy init done');
     }
 }