Browse Source

fix(nocodb): add missing ncMeta in migrateEqAndNeqFilters

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

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

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

Loading…
Cancel
Save