diff --git a/packages/backend/migrations/20240731084359_add_unique_constraint_to_kid.js b/packages/backend/migrations/20240731084359_add_unique_constraint_to_kid.js index 30742868b6..f758456c3b 100644 --- a/packages/backend/migrations/20240731084359_add_unique_constraint_to_kid.js +++ b/packages/backend/migrations/20240731084359_add_unique_constraint_to_kid.js @@ -13,7 +13,7 @@ exports.up = async function (knex) { GROUP BY "walletAddressId", kid, x ) subquery ); - `); + `) return knex.schema.alterTable('walletAddressKeys', (table) => { table.unique(['walletAddressId', 'kid', 'x'])