Remove unused console.logs
This commit is contained in:
parent
f682abdafe
commit
09f9117b72
@ -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,
|
||||
{
|
||||
|
@ -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 = [];
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user