diff --git a/plugins/catalog-backend/migrations/20210302150147_refresh_state.js b/plugins/catalog-backend/migrations/20210302150147_refresh_state.js index ae8a02c785..6ee10531eb 100644 --- a/plugins/catalog-backend/migrations/20210302150147_refresh_state.js +++ b/plugins/catalog-backend/migrations/20210302150147_refresh_state.js @@ -25,7 +25,7 @@ exports.up = async function up(knex) { table.text('id').primary().notNullable().comment('Primary id'); table .text('entity_ref') - .primary() + .unique() .notNullable() .comment('A reference to the entity that the refresh state is tied to'); table