diff --git a/src/components/EditorSidePanel/RelationshipsTab/RelationshipInfo.jsx b/src/components/EditorSidePanel/RelationshipsTab/RelationshipInfo.jsx index 397a7ef..80a335c 100644 --- a/src/components/EditorSidePanel/RelationshipsTab/RelationshipInfo.jsx +++ b/src/components/EditorSidePanel/RelationshipsTab/RelationshipInfo.jsx @@ -107,17 +107,6 @@ export default function RelationshipInfo({ data }) { const changeConstraint = (key, value) => { const undoKey = `${key}Constraint`; - console.log({ - action: Action.EDIT, - element: ObjectType.RELATIONSHIP, - rid: data.id, - undo: { [undoKey]: data[undoKey] }, - redo: { [undoKey]: value }, - message: t("edit_relationship", { - refName: data.name, - extra: "[constraint]", - }), - }); setUndoStack((prev) => [ ...prev, { diff --git a/src/utils/importSQL/postgres.js b/src/utils/importSQL/postgres.js index b6b28dc..d3ded42 100644 --- a/src/utils/importSQL/postgres.js +++ b/src/utils/importSQL/postgres.js @@ -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) => { diff --git a/src/utils/importSQL/sqlite.js b/src/utils/importSQL/sqlite.js index 28f359d..2885f11 100644 --- a/src/utils/importSQL/sqlite.js +++ b/src/utils/importSQL/sqlite.js @@ -37,7 +37,6 @@ const affinity = { }; export function fromSQLite(ast, diagramDb = DB.GENERIC) { - console.log(ast); const tables = []; const relationships = [];