From c361e6ec22bacf409c1c8747df623e9203cbdcbf Mon Sep 17 00:00:00 2001 From: Michael Gaffney Date: Tue, 26 Oct 2021 05:20:34 -0400 Subject: [PATCH] fix(warehouse): Add primary key to credential group membership table (#1636) --- .../migrations/oss/postgres/17/02_wh_primary_key.up.sql | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 internal/db/schema/migrations/oss/postgres/17/02_wh_primary_key.up.sql diff --git a/internal/db/schema/migrations/oss/postgres/17/02_wh_primary_key.up.sql b/internal/db/schema/migrations/oss/postgres/17/02_wh_primary_key.up.sql new file mode 100644 index 0000000000..ea8e1f396a --- /dev/null +++ b/internal/db/schema/migrations/oss/postgres/17/02_wh_primary_key.up.sql @@ -0,0 +1,6 @@ +begin; + + alter table wh_credential_group_membership + add primary key (credential_group_key, credential_key); + +commit;