Merge pull request #5898 from backstage/jhaals/bootstrap
catalog/next: Keep bootstrap location
This commit is contained in:
@@ -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();
|
||||
};
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user