removed "s" from allowed_scopes

pull/165/merge
Amanda Anganes 2012-08-09 09:25:49 -04:00
parent 9c32e92da5
commit 0757642e67
3 changed files with 6 additions and 5 deletions

View File

@ -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;
}

View File

@ -0,0 +1,4 @@
create table allowed_scope (
owner_id VARCHAR(256),
allowed_scope VARCHAR(256)
);

View File

@ -1,4 +0,0 @@
create table allowed_scopes(
owner_id VARCHAR(256),
allowedScopes VARCHAR(256)
);