Skip to content

Commit 0fa2304

Browse files
committed
Enforce uniqueness on unique_id_users
Dropping the primary key in V140 unintentionally also removed the unique constraint on user_id and uniqueid_hash
1 parent 8ed2dfa commit 0fa2304

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
-- Dropping the primary key in V140 unintentionally also removed the unique constraint on user_id and uniqueid_hash
2+
3+
alter table unique_id_users
4+
add constraint unique_id_users_pk
5+
unique (user_id, uniqueid_hash);

0 commit comments

Comments
 (0)