Browse Source

fix: if colOptions not found then skip

Signed-off-by: Pranav C <pranavxc@gmail.com>
pull/5980/head
Pranav C 1 year ago
parent
commit
10f569d398
  1. 5
      packages/nocodb/src/version-upgrader/ncXcdbLTARUpgrader.ts

5
packages/nocodb/src/version-upgrader/ncXcdbLTARUpgrader.ts

@ -44,6 +44,11 @@ async function upgradeModelRelations({
ncMeta,
);
// if colOptions not found then skip
if (!colOptions) {
continue;
}
switch (colOptions.type) {
case RelationTypes.HAS_MANY:
{

Loading…
Cancel
Save