Browse Source

fix: include schema name while updating last modified value

pull/7392/head
Pranav C 11 months ago
parent
commit
0da4f470d3
  1. 2
      packages/nocodb/src/db/BaseModelSqlv2.ts

2
packages/nocodb/src/db/BaseModelSqlv2.ts

@ -5757,7 +5757,7 @@ class BaseModelSqlv2 {
if (Object.keys(updateObject).length === 0) return;
const qb = knex(this.tnPath(model.table_name)).update(updateObject);
const qb = knex(this.getTnPath(model.table_name)).update(updateObject);
for (const rowId of Array.isArray(rowIds) ? rowIds : [rowIds]) {
qb.orWhere(await this._wherePk(rowId));

Loading…
Cancel
Save