Browse Source

fix: save foreign key name with relation

Signed-off-by: Pranav C <pranavxc@gmail.com>
pull/5091/head
Pranav C 2 years ago
parent
commit
5cbdac7777
  1. 2
      packages/nocodb/src/lib/meta/api/helpers/columnHelpers.ts

2
packages/nocodb/src/lib/meta/api/helpers/columnHelpers.ts

@ -51,6 +51,7 @@ export async function createHmAndBtColumn(
virtual,
system: isSystemCol,
fk_col_name: fkColName,
fk_index_name: fkColName,
});
}
// save hm column
@ -70,6 +71,7 @@ export async function createHmAndBtColumn(
virtual,
system: isSystemCol,
fk_col_name: fkColName,
fk_index_name: fkColName,
});
}
}

Loading…
Cancel
Save