Skip to content
This repository was archived by the owner on Aug 21, 2025. It is now read-only.

Commit 0919cc0

Browse files
committed
Add migration for twitch auth to enable multi account creation with tokens
1 parent 9a50229 commit 0919cc0

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

modules/twitch/auth/service/src/main/java/com/funixproductions/api/twitch/auth/service/entities/TwitchClientToken.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
@Entity(name = "twitch_client_tokens")
1717
public class TwitchClientToken extends ApiEntity {
1818

19-
@Column(name = "user_uuid", nullable = false, unique = true)
19+
@Column(name = "user_uuid", nullable = false)
2020
private String userUuid;
2121

2222
@Convert(converter = EncryptionString.class)
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
ALTER TABLE twitch_client_tokens DROP CONSTRAINT IF EXISTS twitch_client_tokens_link_user;

0 commit comments

Comments
 (0)