diff --git a/packages/nocodb/src/db/BaseModelSqlv2.ts b/packages/nocodb/src/db/BaseModelSqlv2.ts index 47129af56a..1b8c775610 100644 --- a/packages/nocodb/src/db/BaseModelSqlv2.ts +++ b/packages/nocodb/src/db/BaseModelSqlv2.ts @@ -5828,7 +5828,7 @@ class BaseModelSqlv2 { await this.clearFileReferences({ oldData: deleted, - columns: this.model.columns, + columns: columns, }); if (isSingleRecordDeletion) {