mirror of
https://github.com/drawdb-io/drawdb.git
synced 2026-02-11 02:00:37 +08:00
Remove unused console.logs
This commit is contained in:
@@ -156,7 +156,6 @@ export function fromPostgres(ast, diagramDb = DB.GENERIC) {
|
||||
}
|
||||
|
||||
if (d.reference_definition) {
|
||||
console.log(d);
|
||||
const relationship = {};
|
||||
const startTable = table.name;
|
||||
const startField = field.name;
|
||||
@@ -205,7 +204,6 @@ export function fromPostgres(ast, diagramDb = DB.GENERIC) {
|
||||
relationships.push(relationship);
|
||||
|
||||
relationships.forEach((r, i) => (r.id = i));
|
||||
console.log(relationship);
|
||||
}
|
||||
});
|
||||
table.fields.forEach((f, j) => {
|
||||
|
||||
@@ -37,7 +37,6 @@ const affinity = {
|
||||
};
|
||||
|
||||
export function fromSQLite(ast, diagramDb = DB.GENERIC) {
|
||||
console.log(ast);
|
||||
const tables = [];
|
||||
const relationships = [];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user