Browse Source

fix: add index for extension base_id

nc-feat/extensions
mertmit 8 months ago
parent
commit
85c2ae3191
  1. 2
      packages/nocodb/src/meta/migrations/v2/nc_045_extensions.ts

2
packages/nocodb/src/meta/migrations/v2/nc_045_extensions.ts

@ -5,7 +5,7 @@ const up = async (knex: Knex) => {
await knex.schema.createTable(MetaTable.EXTENSIONS, (table) => {
table.string('id', 20).primary();
table.string('base_id', 20);
table.string('base_id', 20).index();
table.string('fk_user_id', 20);

Loading…
Cancel
Save