diff --git a/plugins/catalog-backend/migrationsv2/20210302150147_refresh_state.js b/plugins/catalog-backend/migrationsv2/20210302150147_refresh_state.js index 4c03405910..23bcd7c69f 100644 --- a/plugins/catalog-backend/migrationsv2/20210302150147_refresh_state.js +++ b/plugins/catalog-backend/migrationsv2/20210302150147_refresh_state.js @@ -185,6 +185,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.schema.raw( + `DELETE from locations WHERE type = 'bootstrap' AND target = 'bootstrap'`, + ); }; /**