diff --git a/packages/nocodb/src/lib/version-upgrader/ncFilterUpgrader_0104004.ts b/packages/nocodb/src/lib/version-upgrader/ncFilterUpgrader_0104004.ts index efb644ad57..7cbb29fd56 100644 --- a/packages/nocodb/src/lib/version-upgrader/ncFilterUpgrader_0104004.ts +++ b/packages/nocodb/src/lib/version-upgrader/ncFilterUpgrader_0104004.ts @@ -236,11 +236,10 @@ async function migrateFilters(ncMeta: NcMetaIO) { const filters = await ncMeta.metaList2(null, null, MetaTable.FILTER_EXP); let actions = []; for (const filter of filters) { - const col = await Column.get({ colId: filter.fk_column_id }, ncMeta); - if (!col || !col.uidt) { - // column not found -> skip + if (!filter.fk_column_id || filter.is_group) { continue; } + const col = await Column.get({ colId: filter.fk_column_id }, ncMeta); if ( [ UITypes.SingleLineText,