Browse Source

fix(nocodb): add missing ncMeta in migrateEqAndNeqFilters

pull/5185/head
Wing-Kam Wong 2 years ago
parent
commit
b0fbf97e07
  1. 10
      packages/nocodb/src/lib/version-upgrader/ncFilterUpgrader_0105003.ts

10
packages/nocodb/src/lib/version-upgrader/ncFilterUpgrader_0105003.ts

@ -47,9 +47,13 @@ async function migrateEqAndNeqFilters(ncMeta: NcMetaIO) {
continue;
}
actions.push(
Filter.update(filter.id, {
comparison_sub_op: 'exact_date',
})
Filter.update(
filter.id,
{
comparison_sub_op: 'exact_date',
},
ncMeta
)
);
}
await Promise.all(actions);

Loading…
Cancel
Save