Browse Source

fix: upgrader correction

pull/7304/head
Pranav C 10 months ago
parent
commit
56f9299df5
  1. 2
      packages/nocodb/src/version-upgrader/ncXcdbCreatedAndUpdatedTimeUpgrader.ts

2
packages/nocodb/src/version-upgrader/ncXcdbCreatedAndUpdatedTimeUpgrader.ts

@ -82,7 +82,7 @@ async function upgradeModels({
await deletePgTrigger({ column, ncMeta, model });
}*/
}
if (column.uidt === 'updated_at') {
if (column.column_name === 'updated_at') {
isLastModifiedTimeExists = true;
await Column.update(
column.id,

Loading…
Cancel
Save