Added ERD Diagram support with basic table fields, primary key, foreign key, and DDL SQL generation. Fixes #1802

This commit is contained in:
Aditya Toshniwal
2021-01-16 17:06:50 +05:30
committed by Akshay Joshi
parent 065bda37b4
commit 0c8226ff39
78 changed files with 9289 additions and 1472 deletions
@@ -1465,6 +1465,10 @@ define([
collection: collection,
node_info: self.model.node_info,
});
if(data.beforeAdd) {
m = data.beforeAdd.apply(self, [m]);
}
collection.add(m);
var idx = collection.indexOf(m),