Browse Source

fix(nocodb): incorrect metatable

pull/5349/head
Wing-Kam Wong 2 years ago
parent
commit
5db32ff3cf
  1. 4
      packages/nocodb/src/lib/migrations/v2/nc_029_webhook.ts

4
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'); 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'); table.dropColumn('version');
}); });
}; };

Loading…
Cancel
Save