changed auth holder reference, moved dates to timestamps
parent
bb7d6b2e94
commit
74a40fc973
|
@ -100,7 +100,7 @@ public class OAuth2RefreshTokenEntity implements OAuth2RefreshToken {
|
||||||
* @return the authentication
|
* @return the authentication
|
||||||
*/
|
*/
|
||||||
@ManyToOne
|
@ManyToOne
|
||||||
@JoinColumn(name = "owner_id")
|
@JoinColumn(name = "auth_holder_id")
|
||||||
public AuthenticationHolder getAuthenticationHolder() {
|
public AuthenticationHolder getAuthenticationHolder() {
|
||||||
return authenticationHolder;
|
return authenticationHolder;
|
||||||
}
|
}
|
||||||
|
|
|
@ -28,9 +28,9 @@ CREATE TABLE approved_site (
|
||||||
id BIGINT AUTO_INCREMENT PRIMARY KEY,
|
id BIGINT AUTO_INCREMENT PRIMARY KEY,
|
||||||
user_id VARCHAR(4096),
|
user_id VARCHAR(4096),
|
||||||
client_id VARCHAR(4096),
|
client_id VARCHAR(4096),
|
||||||
creation_date DATE,
|
creation_date TIMESTAMP,
|
||||||
access_date DATE,
|
access_date TIMESTAMP,
|
||||||
timeout_date DATE,
|
timeout_date TIMESTAMP,
|
||||||
whitelisted_site_id VARCHAR(256)
|
whitelisted_site_id VARCHAR(256)
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue