Browse Source

fix: include schema name while updating last modified value

pull/7392/head
Pranav C 8 months ago
parent
commit
ada3bb7b23
  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(model.table_name).update(updateObject);
const qb = knex(this.tnPath(model.table_name)).update(updateObject);
for (const rowId of Array.isArray(rowIds) ? rowIds : [rowIds]) {
qb.orWhere(await this._wherePk(rowId));

Loading…
Cancel
Save