@point-hub/papi 0.5.13 → 0.5.14
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/index.js +2 -2
- package/package.json +1 -1
package/lib/index.js
CHANGED
|
@@ -71764,13 +71764,13 @@ class DatabaseTestUtil {
|
|
|
71764
71764
|
await DatabaseTestUtil.dbConnection.updateSchema(listSchema[i][j].collection, listSchema[i][j].schema);
|
|
71765
71765
|
for (const unique of listSchema[i][j].unique) {
|
|
71766
71766
|
if (unique.length) {
|
|
71767
|
-
console.info(`[schema] ${listSchema[i][j].collection} - create unique attribute "
|
|
71767
|
+
console.info(`[schema] ${listSchema[i][j].collection} - create unique attribute "${unique}"`);
|
|
71768
71768
|
await helper.createUnique(listSchema[i][j].collection, BaseMongoDBQuerystring.convertArrayToObject(unique, -1));
|
|
71769
71769
|
}
|
|
71770
71770
|
}
|
|
71771
71771
|
for (const unique of listSchema[i][j].uniqueIfExists) {
|
|
71772
71772
|
if (unique.length) {
|
|
71773
|
-
console.info(`[schema] ${listSchema[i][j].collection} - create unique attribute "
|
|
71773
|
+
console.info(`[schema] ${listSchema[i][j].collection} - create unique attribute "${unique}"`);
|
|
71774
71774
|
await helper.createUniqueIfNotNull(listSchema[i][j].collection, BaseMongoDBQuerystring.convertArrayToObject(unique, -1));
|
|
71775
71775
|
}
|
|
71776
71776
|
}
|