openchs-models 1.30.87 → 1.30.88

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.
Files changed (2) hide show
  1. package/dist/Schema.js +1 -2
  2. package/package.json +1 -1
package/dist/Schema.js CHANGED
@@ -783,8 +783,7 @@ function createRealmConfig() {
783
783
  _General.default.logInfo("Migration180", "Execution started");
784
784
 
785
785
  const individualsOfInterest = newDB.objects(_Individual.default.schema.name).filtered("lowestAddressLevel = null");
786
-
787
- _lodash.default.forEach(individualsOfInterest, individual => {
786
+ individualsOfInterest && individualsOfInterest.forEach(individual => {
788
787
  _General.default.logInfo("Migration180", "Deleting individual " + individual.uuid + " and related entities");
789
788
 
790
789
  _MigrationsHelper.default.deleteIndividual(individual, newDB);
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "openchs-models",
3
3
  "description": "OpenCHS data model to be used by front end clients",
4
- "version": "1.30.87",
4
+ "version": "1.30.88",
5
5
  "private": false,
6
6
  "repository": {
7
7
  "type": "git",