From 56f9299df560869b7fee22bb9128f959ed88dc23 Mon Sep 17 00:00:00 2001 From: Pranav C Date: Thu, 4 Jan 2024 13:19:28 +0000 Subject: [PATCH] fix: upgrader correction --- .../src/version-upgrader/ncXcdbCreatedAndUpdatedTimeUpgrader.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/nocodb/src/version-upgrader/ncXcdbCreatedAndUpdatedTimeUpgrader.ts b/packages/nocodb/src/version-upgrader/ncXcdbCreatedAndUpdatedTimeUpgrader.ts index 7cea9bcd84..c03e755c13 100644 --- a/packages/nocodb/src/version-upgrader/ncXcdbCreatedAndUpdatedTimeUpgrader.ts +++ b/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,