Taichi Masuyama 4 лет назад
Родитель
Сommit
b878eaed54
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      packages/app/src/server/service/page.js

+ 1 - 1
packages/app/src/server/service/page.js

@@ -868,7 +868,7 @@ class PageService {
 
     // skip index modification if path is unique
     if (pathIndexStatus == null || pathIndexStatus === true) {
-      // drop only when true
+      // drop only when true. this condition is for in case createIndex failed but dropIndex succeeded before
       if (pathIndexStatus) {
         try {
           // drop pages.path_1 indexes