Merge pull request #5898 from backstage/jhaals/bootstrap

catalog/next: Keep bootstrap location
This commit is contained in:
Johan Haals
2021-06-03 10:56:21 +02:00
committed by GitHub
2 changed files with 5 additions and 5 deletions
+5
View File
@@ -0,0 +1,5 @@
---
'@backstage/plugin-catalog-backend': patch
---
Skip deletion of bootstrap location when running the new catalog.
@@ -191,11 +191,6 @@ 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();
};
/**