We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8ccd459 commit 7eb5553Copy full SHA for 7eb5553
1 file changed
havril/pkg/models/users.go
@@ -17,7 +17,7 @@ type User struct {
17
TokenHash string `gorm:"uniqueIndex"`
18
TokenPrefix string
19
TokenExpiresAt *time.Time
20
- RefreshTokenHash string
+ RefreshTokenHash string `gorm:"uniqueIndex"`
21
RefreshTokenPrefix string
22
RefreshTokenExpiresAt *time.Time
23
McpTokenHash string
0 commit comments