mvc-integrator
Advanced tools
Comparing version 1.0.1 to 1.0.2
@@ -160,3 +160,5 @@ /*! | ||
//Save imports on the right table (where the fk is) | ||
tablesMatrix[table.id].allImports.push({ class: referenceClass }); | ||
if(tableName!=referenceClass) { | ||
tablesMatrix[table.id].allImports.push({ class: referenceClass }); | ||
} | ||
@@ -169,3 +171,5 @@ //Save the column with the properly name and type | ||
//Save imports on the left table | ||
tablesMatrix[relationshipsMatrix[column.id].leftTableId].allImports.push({ class: tableName }); | ||
if(tableName!=referenceClass) { | ||
tablesMatrix[relationshipsMatrix[column.id].leftTableId].allImports.push({ class: tableName }); | ||
} | ||
@@ -172,0 +176,0 @@ //Save a list colunm on the other side table (left) |
{ | ||
"name": "mvc-integrator", | ||
"version": "1.0.1", | ||
"version": "1.0.2", | ||
"description": "The MVC-Integrator is to help developers to build consistency systems. The tool will generate classes releted to an ERD Model created on ERD Editor. Also, it is going to work directly with some database dialects. The development and test are using Visual Studio Code and IBM DB2 on Cloud.", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -5,4 +5,4 @@ { | ||
"height": 2000, | ||
"scrollTop": 315, | ||
"scrollLeft": 117, | ||
"scrollTop": 121, | ||
"scrollLeft": 429, | ||
"show": { | ||
@@ -541,2 +541,25 @@ "tableComment": true, | ||
"id": "a1d5dbbf-582e-c2da-6536-a9018ebd3387" | ||
}, | ||
{ | ||
"name": "fkItem2", | ||
"comment": "", | ||
"dataType": "INT", | ||
"default": "", | ||
"option": { | ||
"autoIncrement": false, | ||
"primaryKey": false, | ||
"unique": false, | ||
"notNull": false | ||
}, | ||
"ui": { | ||
"active": false, | ||
"pk": false, | ||
"fk": true, | ||
"pfk": false, | ||
"widthName": 60, | ||
"widthComment": 60, | ||
"widthDataType": 60, | ||
"widthDefault": 60 | ||
}, | ||
"id": "7df582e9-1f5a-ea80-184e-16c90f88a966" | ||
} | ||
@@ -548,3 +571,3 @@ ], | ||
"top": 248, | ||
"zIndex": 484, | ||
"zIndex": 493, | ||
"widthName": 60, | ||
@@ -837,3 +860,3 @@ "widthComment": 60 | ||
"ui": { | ||
"active": true, | ||
"active": false, | ||
"left": 267, | ||
@@ -872,3 +895,3 @@ "top": 650, | ||
"x": 647, | ||
"y": 395.25, | ||
"y": 405.5, | ||
"direction": "left" | ||
@@ -901,2 +924,25 @@ }, | ||
"relationshipType": "OneN" | ||
}, | ||
{ | ||
"identification": false, | ||
"start": { | ||
"tableId": "22e5dece-750f-4043-a28e-c4ba9e8b10be", | ||
"columnIds": [ | ||
"cce01298-0ee3-510f-d080-0ae9605a32ad" | ||
], | ||
"x": 981, | ||
"y": 248, | ||
"direction": "top" | ||
}, | ||
"end": { | ||
"tableId": "22e5dece-750f-4043-a28e-c4ba9e8b10be", | ||
"columnIds": [ | ||
"7df582e9-1f5a-ea80-184e-16c90f88a966" | ||
], | ||
"x": 1001, | ||
"y": 268, | ||
"direction": "right" | ||
}, | ||
"id": "c1f12f51-0032-978d-e73f-a008e1666ee7", | ||
"relationshipType": "OneN" | ||
} | ||
@@ -903,0 +949,0 @@ ] |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
45518
1292