removed "s" from allowed_scopes
parent
9c32e92da5
commit
0757642e67
|
@ -103,9 +103,10 @@ public class WhitelistedSite {
|
|||
*/
|
||||
@ElementCollection(fetch = FetchType.EAGER)
|
||||
@CollectionTable(
|
||||
name="allowed_scopes",
|
||||
name="allowed_scope",
|
||||
joinColumns=@JoinColumn(name="owner_id")
|
||||
)
|
||||
@Column(name="allowed_scope")
|
||||
public Set<String> getAllowedScopes() {
|
||||
return allowedScopes;
|
||||
}
|
||||
|
|
|
@ -0,0 +1,4 @@
|
|||
create table allowed_scope (
|
||||
owner_id VARCHAR(256),
|
||||
allowed_scope VARCHAR(256)
|
||||
);
|
|
@ -1,4 +0,0 @@
|
|||
create table allowed_scopes(
|
||||
owner_id VARCHAR(256),
|
||||
allowedScopes VARCHAR(256)
|
||||
);
|
Loading…
Reference in New Issue