Browse Source

test: cleanup for barcode & Qr code meta

Signed-off-by: Raju Udava <86527202+dstala@users.noreply.github.com>
pull/5937/head
Raju Udava 1 year ago
parent
commit
3a4036f8ac
  1. 8
      packages/nocodb/src/models/Model.ts

8
packages/nocodb/src/models/Model.ts

@ -408,6 +408,14 @@ export default class Model implements TableType {
colOptionTableName = MetaTable.COL_FORMULA; colOptionTableName = MetaTable.COL_FORMULA;
cacheScopeName = CacheScope.COL_FORMULA; cacheScopeName = CacheScope.COL_FORMULA;
break; break;
case UITypes.QrCode:
colOptionTableName = MetaTable.COL_QRCODE;
cacheScopeName = CacheScope.COL_QRCODE;
break;
case UITypes.Barcode:
colOptionTableName = MetaTable.COL_BARCODE;
cacheScopeName = CacheScope.COL_BARCODE;
break;
} }
if (colOptionTableName && cacheScopeName) { if (colOptionTableName && cacheScopeName) {
await ncMeta.metaDelete(null, null, colOptionTableName, { await ncMeta.metaDelete(null, null, colOptionTableName, {

Loading…
Cancel
Save