Github user ilgrosso commented on a diff in the pull request:
https://github.com/apache/syncope/pull/70#discussion_r181088731
--- Diff:
core/persistence-jpa/src/main/java/org/apache/syncope/core/persistence/jpa/entity/JPAAccessToken.java
---
@@ -44,7 +44,7 @@
@Temporal(TemporalType.TIMESTAMP)
private Date expiryTime;
- @Column(nullable = true)
+ @Column(unique = true)
--- End diff --
As said during the initial mail exchange, I am not sure of the reason why
owner is currently set as nullable, and I don't see enough reasons to change
it, please revert.
---