diff --git a/packages/nocodb/src/utils/getInstance.ts b/packages/nocodb/src/utils/getInstance.ts index 55b4283464..589ccbbe52 100644 --- a/packages/nocodb/src/utils/getInstance.ts +++ b/packages/nocodb/src/utils/getInstance.ts @@ -43,12 +43,12 @@ export default async function (force = false, ncMeta = Noco.ncMeta) { .knex(MetaTable.MODELS) .count('id as count') .first() - .then((c) => c.created_at); + .then((c) => c.count); const views = await ncMeta .knex(MetaTable.VIEWS) .count('id as count') .first() - .then((c) => c.created_at); + .then((c) => c.count); const nc_db_type = Noco.getConfig()?.meta?.db?.client;