@itleanchatbot/shared-models-js-postgres 1.0.20 → 1.1.21

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@itleanchatbot/shared-models-js-postgres",
3
- "version": "1.0.20",
3
+ "version": "1.1.21",
4
4
  "description": "Shared Models JS Postgres",
5
5
  "main": "index.js",
6
6
  "license": "ISC",
@@ -105,7 +105,11 @@ const DialogNodesModel = (sequelize, Sequelize) => {
105
105
  })
106
106
  DialogNodes.hasMany(models.DialogNodes_MultipleResponses)
107
107
  DialogNodes.hasMany(models.DialogNodes_ApiResources)
108
+ DialogNodes.hasMany(models.Skill_ApiResources, {
109
+ foreignKey: 'SkillId'
110
+ })
108
111
  }
112
+
109
113
 
110
114
  return DialogNodes
111
115
  }