diff --git a/packages/nocodb/src/lib/noco/gql/GqlApiBuilder.ts b/packages/nocodb/src/lib/noco/gql/GqlApiBuilder.ts index e44352673f..960ede5d43 100644 --- a/packages/nocodb/src/lib/noco/gql/GqlApiBuilder.ts +++ b/packages/nocodb/src/lib/noco/gql/GqlApiBuilder.ts @@ -841,7 +841,7 @@ export class GqlApiBuilder extends BaseApiBuilder implements XcMetaMgr { /* filter based on prefix */ if (this.projectBuilder?.prefix) { tables = tables.filter(t => { - t._tn = t._tn || t.tn.replace(this.projectBuilder?.prefix, ''); + // t._tn = t._tn || t.tn.replace(this.projectBuilder?.prefix, ''); return t.tn.startsWith(this.projectBuilder?.prefix); }); } diff --git a/packages/nocodb/src/lib/noco/meta/handlers/xcMetaDiff.ts b/packages/nocodb/src/lib/noco/meta/handlers/xcMetaDiff.ts index dbde8bcb7a..6769a22c36 100644 --- a/packages/nocodb/src/lib/noco/meta/handlers/xcMetaDiff.ts +++ b/packages/nocodb/src/lib/noco/meta/handlers/xcMetaDiff.ts @@ -92,6 +92,7 @@ export default async function( oldMetas.splice(oldMetaIdx, 1); const tableProp = { + _tn: oldMeta._tn, tn: table.tn, type: XcMetaType.TABLE, detectedChanges: []