Merge pull request #5740 from backstage/jhaals/drop-bootstrap

Catalog/next: Drop bootstrap  from locations table
This commit is contained in:
Johan Haals
2021-05-27 16:33:51 +02:00
committed by GitHub
@@ -191,6 +191,11 @@ exports.up = async function up(knex) {
table.index(['key'], 'search_key_idx');
table.index(['value'], 'search_value_idx');
});
// Delete bootstrap location which is no longer required.
await knex('locations')
.where({ type: 'bootstrap', target: 'bootstrap' })
.delete();
};
/**