Skip to content

Commit b252222

Browse files
hotfix: allow for same key to be present in multiple aggregated sessions
1 parent 8737961 commit b252222

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
--Migration generated Fri, 29 Sep 2023 09:22:12 +0000
2+
3+
ALTER TABLE rate_limit.records_aggregated
4+
DROP CONSTRAINT records_aggregated_pkey;
5+
6+
ALTER TABLE rate_limit.records_aggregated
7+
DROP CONSTRAINT unique_session_key;
8+
9+
ALTER TABLE rate_limit.records_aggregated
10+
ADD CONSTRAINT unique_session_key UNIQUE (session_id, key);

0 commit comments

Comments
 (0)