Explorar o código

Modified comments

Taichi Masuyama %!s(int64=4) %!d(string=hai) anos
pai
achega
2553fbcfcc
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      packages/app/src/server/models/page.js

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

@@ -72,7 +72,7 @@ pageSchema.plugin(mongoosePaginate);
 pageSchema.plugin(uniqueValidator);
 
 // TODO: test this after modifying Page.create
-// ensure v4 compatibility
+// ensure v4 compatibility using partial index
 pageSchema.index({ path: 1 }, { unique: true, partialFilterExpression: { parent: null } });
 
 /**