From 5db32ff3cffef86f381cb025507e69858f45d0ae Mon Sep 17 00:00:00 2001 From: Wing-Kam Wong Date: Mon, 27 Mar 2023 16:02:25 +0800 Subject: [PATCH] fix(nocodb): incorrect metatable --- packages/nocodb/src/lib/migrations/v2/nc_029_webhook.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/nocodb/src/lib/migrations/v2/nc_029_webhook.ts b/packages/nocodb/src/lib/migrations/v2/nc_029_webhook.ts index d597cd2015..0c0aa450b0 100644 --- a/packages/nocodb/src/lib/migrations/v2/nc_029_webhook.ts +++ b/packages/nocodb/src/lib/migrations/v2/nc_029_webhook.ts @@ -15,7 +15,7 @@ const up = async (knex: Knex) => { }); } - await knex.schema.alterTable(MetaTable.COLUMNS, (table) => { + await knex.schema.alterTable(MetaTable.HOOKS, (table) => { table.string('version'); }); }; @@ -27,7 +27,7 @@ const down = async (knex) => { }); } - await knex.schema.alterTable(MetaTable.COLUMNS, (table) => { + await knex.schema.alterTable(MetaTable.HOOKS, (table) => { table.dropColumn('version'); }); };