@bee.js/node 0.0.42 → 0.0.43

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/DBA/beeDBA.js CHANGED
@@ -105,7 +105,9 @@ module.exports.actions = {
105
105
 
106
106
  for (let field in model.relations)
107
107
  SQL += ` ADD CONSTRAINT ${q(
108
- `FK_${model.relations[field].split(".")[0]}_X_${model.table}_${field}`
108
+ `FK_${model.relations[field].split(".")[0]}_X_${
109
+ model.table
110
+ }_${field}`.slice(0, 64)
109
111
  )}
110
112
  FOREIGN KEY (${field})
111
113
  REFERENCES ${
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bee.js/node",
3
- "version": "0.0.42",
3
+ "version": "0.0.43",
4
4
  "description": "A JavaScript framework for making Node.js API´s",
5
5
  "main": "index.js",
6
6
  "scripts": {