From 9c32e92da5064618692635bda8b8f9edad1cbc79 Mon Sep 17 00:00:00 2001 From: Amanda Anganes Date: Thu, 9 Aug 2012 09:15:29 -0400 Subject: [PATCH] Cleaned up sql tables some more; sticking to _ naming convention --- .../oauth2/model/ClientDetailsEntity.java | 87 +++++++++++++------ .../oauth2/model/OAuth2AccessTokenEntity.java | 4 +- .../model/OAuth2RefreshTokenEntity.java | 4 +- .../openid/connect/model/ApprovedSite.java | 10 ++- .../openid/connect/model/WhitelistedSite.java | 5 +- .../{accesstoken.sql => access_token.sql} | 6 +- .../db/tables/approved_site.sql | 9 ++ .../db/tables/approvedsite.sql | 9 -- .../db/tables/authentication_holder.sql | 4 +- .../db/tables/client_details.sql | 41 +++++++++ .../db/tables/clientdetails.sql | 41 --------- openid-connect-server/db/tables/contact.sql | 4 +- .../{refreshtoken.sql => refresh_token.sql} | 4 +- .../db/tables/whitelisted_site.sql | 5 ++ .../db/tables/whitelistedsite.sql | 5 -- 15 files changed, 140 insertions(+), 98 deletions(-) rename openid-connect-server/db/tables/{accesstoken.sql => access_token.sql} (63%) create mode 100644 openid-connect-server/db/tables/approved_site.sql delete mode 100644 openid-connect-server/db/tables/approvedsite.sql create mode 100644 openid-connect-server/db/tables/client_details.sql delete mode 100644 openid-connect-server/db/tables/clientdetails.sql rename openid-connect-server/db/tables/{refreshtoken.sql => refresh_token.sql} (52%) create mode 100644 openid-connect-server/db/tables/whitelisted_site.sql delete mode 100644 openid-connect-server/db/tables/whitelistedsite.sql diff --git a/openid-connect-common/src/main/java/org/mitre/oauth2/model/ClientDetailsEntity.java b/openid-connect-common/src/main/java/org/mitre/oauth2/model/ClientDetailsEntity.java index 284fd29ae..be49e9c26 100644 --- a/openid-connect-common/src/main/java/org/mitre/oauth2/model/ClientDetailsEntity.java +++ b/openid-connect-common/src/main/java/org/mitre/oauth2/model/ClientDetailsEntity.java @@ -48,7 +48,7 @@ import org.springframework.security.oauth2.provider.ClientDetails; * */ @Entity -@Table(name="clientdetails") +@Table(name="client_details") @NamedQueries({ @NamedQuery(name = "ClientDetailsEntity.findAll", query = "SELECT c FROM ClientDetailsEntity c"), @NamedQuery(name = "ClientDetailsEntity.getByClientId", query = "select c from ClientDetailsEntity c where c.clientId = :clientId") @@ -304,6 +304,7 @@ public class ClientDetailsEntity implements ClientDetails { * @return the clientDescription */ @Basic + @Column(name="client_description") public String getClientDescription() { return clientDescription; } @@ -319,6 +320,7 @@ public class ClientDetailsEntity implements ClientDetails { * @return the allowRefresh */ @Basic + @Column(name="allow_refresh") public Boolean isAllowRefresh() { return allowRefresh; } @@ -331,6 +333,7 @@ public class ClientDetailsEntity implements ClientDetails { } @Basic + @Column(name="allow_multiple_access_tokens") public Boolean isAllowMultipleAccessTokens() { return allowMultipleAccessTokens; } @@ -340,6 +343,7 @@ public class ClientDetailsEntity implements ClientDetails { } @Basic + @Column(name="reuse_refresh_tokens") public Boolean isReuseRefreshToken() { return reuseRefreshToken; } @@ -375,6 +379,7 @@ public class ClientDetailsEntity implements ClientDetails { */ @Basic @Override + @Column(name="client_id") public String getClientId() { return clientId; } @@ -391,6 +396,7 @@ public class ClientDetailsEntity implements ClientDetails { */ @Basic @Override + @Column(name="client_secret") public String getClientSecret() { return clientSecret; } @@ -466,6 +472,7 @@ public class ClientDetailsEntity implements ClientDetails { @Override @Basic + @Column(name="access_token_validity_seconds") public Integer getAccessTokenValiditySeconds() { return accessTokenValiditySeconds; } @@ -479,6 +486,7 @@ public class ClientDetailsEntity implements ClientDetails { @Override @Basic + @Column(name="refresh_token_validity_seconds") public Integer getRefreshTokenValiditySeconds() { return refreshTokenValiditySeconds; } @@ -547,6 +555,7 @@ public class ClientDetailsEntity implements ClientDetails { @Basic + @Column(name="application_type") public AppType getApplicationType() { return applicationType; } @@ -556,6 +565,7 @@ public class ClientDetailsEntity implements ClientDetails { } @Basic + @Column(name="application_name") public String getApplicationName() { return applicationName; } @@ -565,6 +575,7 @@ public class ClientDetailsEntity implements ClientDetails { } @Basic + @Column(name="token_endpoint_auth_type") public AuthType getTokenEndpointAuthType() { return tokenEndpointAuthType; } @@ -574,6 +585,7 @@ public class ClientDetailsEntity implements ClientDetails { } @Basic + @Column(name="user_id_type") public String getUserIdType() { return userIdType; } @@ -597,6 +609,17 @@ public class ClientDetailsEntity implements ClientDetails { } @Basic + @Column(name="logo_url") + public String getLogoUrl() { + return logoUrl; + } + + public void setLogoUrl(String logoUrl) { + this.logoUrl = logoUrl; + } + + @Basic + @Column(name="policy_url") public String getPolicyUrl() { return policyUrl; } @@ -606,6 +629,27 @@ public class ClientDetailsEntity implements ClientDetails { } @Basic + @Column(name="jwk_url") + public String getJwkUrl() { + return jwkUrl; + } + + public void setJwkUrl(String jwkUrl) { + this.jwkUrl = jwkUrl; + } + + @Basic + @Column(name="jwk_encryption_url") + public String getJwkEncryptionUrl() { + return jwkEncryptionUrl; + } + + public void setJwkEncryptionUrl(String jwkEncryptionUrl) { + this.jwkEncryptionUrl = jwkEncryptionUrl; + } + + @Basic + @Column(name="x509_url") public String getX509Url() { return x509Url; } @@ -615,6 +659,7 @@ public class ClientDetailsEntity implements ClientDetails { } @Basic + @Column(name="x509_encryption_url") public String getX509EncryptionUrl() { return x509EncryptionUrl; } @@ -624,6 +669,7 @@ public class ClientDetailsEntity implements ClientDetails { } @Basic + @Column(name="sector_identifier_url") public String getSectorIdentifierUrl() { return sectorIdentifierUrl; } @@ -633,6 +679,7 @@ public class ClientDetailsEntity implements ClientDetails { } @Basic + @Column(name="requre_signed_request_object") public JwsAlgorithm getRequireSignedRequestObject() { return requireSignedRequestObject; } @@ -643,6 +690,7 @@ public class ClientDetailsEntity implements ClientDetails { } @Basic + @Column(name="user_info_signed_response_alg") public JwsAlgorithm getUserInfoSignedResponseAlg() { return userInfoSignedResponseAlg; } @@ -652,6 +700,7 @@ public class ClientDetailsEntity implements ClientDetails { } @Basic + @Column(name="user_info_encrypted_response_alg") public JweAlgorithms getUserInfoEncryptedResponseAlg() { return userInfoEncryptedResponseAlg; } @@ -662,6 +711,7 @@ public class ClientDetailsEntity implements ClientDetails { } @Basic + @Column(name="user_info_encrypted_response_enc") public JweAlgorithms getUserInfoEncryptedResponseEnc() { return userInfoEncryptedResponseEnc; } @@ -672,6 +722,7 @@ public class ClientDetailsEntity implements ClientDetails { } @Basic + @Column(name="user_info_encrypted_response_int") public JweAlgorithms getUserInfoEncryptedResponseInt() { return userInfoEncryptedResponseInt; } @@ -682,6 +733,7 @@ public class ClientDetailsEntity implements ClientDetails { } @Basic + @Column(name="id_token_signed_response_alg") public JwsAlgorithm getIdTokenSignedResponseAlg() { return idTokenSignedResponseAlg; } @@ -691,6 +743,7 @@ public class ClientDetailsEntity implements ClientDetails { } @Basic + @Column(name="id_token_encrypted_response_alg") public JweAlgorithms getIdTokenEncryptedResponseAlg() { return idTokenEncryptedResponseAlg; } @@ -701,6 +754,7 @@ public class ClientDetailsEntity implements ClientDetails { } @Basic + @Column(name="id_token_encrypted_response_enc") public JweAlgorithms getIdTokenEncryptedReponseEnc() { return idTokenEncryptedReponseEnc; } @@ -711,6 +765,7 @@ public class ClientDetailsEntity implements ClientDetails { } @Basic + @Column(name="id_token_encrypted_response_int") public JweAlgorithms getIdTokenEncryptedResponseInt() { return idTokenEncryptedResponseInt; } @@ -721,6 +776,7 @@ public class ClientDetailsEntity implements ClientDetails { } @Basic + @Column(name="default_max_age") public Integer getDefaultMaxAge() { return defaultMaxAge; } @@ -730,6 +786,7 @@ public class ClientDetailsEntity implements ClientDetails { } @Basic + @Column(name="require_auth_time") public Boolean getRequireAuthTime() { return requireAuthTime; } @@ -739,6 +796,7 @@ public class ClientDetailsEntity implements ClientDetails { } @Basic + @Column(name="default_acr") public String getDefaultACR() { return defaultACR; } @@ -747,33 +805,6 @@ public class ClientDetailsEntity implements ClientDetails { this.defaultACR = defaultACR; } - @Basic - public String getLogoUrl() { - return logoUrl; - } - - public void setLogoUrl(String logoUrl) { - this.logoUrl = logoUrl; - } - - @Basic - public String getJwkUrl() { - return jwkUrl; - } - - public void setJwkUrl(String jwkUrl) { - this.jwkUrl = jwkUrl; - } - - @Basic - public String getJwkEncryptionUrl() { - return jwkEncryptionUrl; - } - - public void setJwkEncryptionUrl(String jwkEncryptionUrl) { - this.jwkEncryptionUrl = jwkEncryptionUrl; - } - @Override public String toString() { return "ClientDetailsEntity [" diff --git a/openid-connect-common/src/main/java/org/mitre/oauth2/model/OAuth2AccessTokenEntity.java b/openid-connect-common/src/main/java/org/mitre/oauth2/model/OAuth2AccessTokenEntity.java index de7d53fe5..5d66abc36 100644 --- a/openid-connect-common/src/main/java/org/mitre/oauth2/model/OAuth2AccessTokenEntity.java +++ b/openid-connect-common/src/main/java/org/mitre/oauth2/model/OAuth2AccessTokenEntity.java @@ -51,7 +51,7 @@ import org.springframework.security.oauth2.common.OAuth2RefreshToken; * */ @Entity -@Table(name="accesstoken") +@Table(name="access_token") @NamedQueries({ @NamedQuery(name = "OAuth2AccessTokenEntity.getByRefreshToken", query = "select a from OAuth2AccessTokenEntity a where a.refreshToken = :refreshToken"), @NamedQuery(name = "OAuth2AccessTokenEntity.getByClient", query = "select a from OAuth2AccessTokenEntity a where a.client = :client"), @@ -179,6 +179,7 @@ public class OAuth2AccessTokenEntity implements OAuth2AccessToken { } @Basic + @Column(name="token_type") public String getTokenType() { return tokenType; } @@ -245,6 +246,7 @@ public class OAuth2AccessTokenEntity implements OAuth2AccessToken { * @return the idTokenString */ @Basic + @Column(name="id_token_string") public String getIdTokenString() { if (idToken != null) { return idToken.toString(); diff --git a/openid-connect-common/src/main/java/org/mitre/oauth2/model/OAuth2RefreshTokenEntity.java b/openid-connect-common/src/main/java/org/mitre/oauth2/model/OAuth2RefreshTokenEntity.java index 273c4b50e..c882e0090 100644 --- a/openid-connect-common/src/main/java/org/mitre/oauth2/model/OAuth2RefreshTokenEntity.java +++ b/openid-connect-common/src/main/java/org/mitre/oauth2/model/OAuth2RefreshTokenEntity.java @@ -46,7 +46,7 @@ import org.springframework.security.oauth2.common.OAuth2RefreshToken; * */ @Entity -@Table(name="refreshtoken") +@Table(name="refresh_token") @NamedQueries({ @NamedQuery(name = "OAuth2RefreshTokenEntity.getByClient", query = "select r from OAuth2RefreshTokenEntity r where r.client = :client"), @NamedQuery(name = "OAuth2RefreshTokenEntity.getExpired", query = "select r from OAuth2RefreshTokenEntity r where r.expiration is not null and r.expiration < current_timestamp"), @@ -115,7 +115,7 @@ public class OAuth2RefreshTokenEntity implements OAuth2RefreshToken { * Get the JWT-encoded value of this token */ @Basic - @Column(name="tokenValue") + @Column(name="token_value") public String getValue() { return jwt.toString(); } diff --git a/openid-connect-common/src/main/java/org/mitre/openid/connect/model/ApprovedSite.java b/openid-connect-common/src/main/java/org/mitre/openid/connect/model/ApprovedSite.java index 8b653bb03..14ea81c73 100644 --- a/openid-connect-common/src/main/java/org/mitre/openid/connect/model/ApprovedSite.java +++ b/openid-connect-common/src/main/java/org/mitre/openid/connect/model/ApprovedSite.java @@ -20,6 +20,7 @@ import java.util.Set; import javax.persistence.Basic; import javax.persistence.CollectionTable; +import javax.persistence.Column; import javax.persistence.ElementCollection; import javax.persistence.Entity; import javax.persistence.FetchType; @@ -35,7 +36,7 @@ import javax.persistence.Temporal; import javax.persistence.Transient; @Entity -@Table(name="approvedsite") +@Table(name="approved_site") @NamedQueries({ @NamedQuery(name = "ApprovedSite.getAll", query = "select a from ApprovedSite a"), @NamedQuery(name = "ApprovedSite.getByUserId", query = "select a from ApprovedSite a where a.userId = :userId"), @@ -97,6 +98,7 @@ public class ApprovedSite { * @return the userInfo */ @Basic + @Column(name="user_id") public String getUserId() { return userId; } @@ -112,6 +114,7 @@ public class ApprovedSite { * @return the clientId */ @Basic + @Column(name="client_id") public String getClientId() { return clientId; } @@ -128,6 +131,7 @@ public class ApprovedSite { */ @Basic @Temporal(javax.persistence.TemporalType.TIMESTAMP) + @Column(name="creation_date") public Date getCreationDate() { return creationDate; } @@ -144,6 +148,7 @@ public class ApprovedSite { */ @Basic @Temporal(javax.persistence.TemporalType.TIMESTAMP) + @Column(name="access_date") public Date getAccessDate() { return accessDate; } @@ -179,6 +184,7 @@ public class ApprovedSite { */ @Basic @Temporal(javax.persistence.TemporalType.TIMESTAMP) + @Column(name="timeout_date") public Date getTimeoutDate() { return timeoutDate; } @@ -201,7 +207,7 @@ public class ApprovedSite { @ManyToOne - @JoinColumn(name="whitelistedsite_id") + @JoinColumn(name="whitelisted_site_id") public WhitelistedSite getWhitelistedSite() { return whitelistedSite; } diff --git a/openid-connect-common/src/main/java/org/mitre/openid/connect/model/WhitelistedSite.java b/openid-connect-common/src/main/java/org/mitre/openid/connect/model/WhitelistedSite.java index 93198c520..04b581669 100644 --- a/openid-connect-common/src/main/java/org/mitre/openid/connect/model/WhitelistedSite.java +++ b/openid-connect-common/src/main/java/org/mitre/openid/connect/model/WhitelistedSite.java @@ -19,6 +19,7 @@ import java.util.Set; import javax.persistence.Basic; import javax.persistence.CollectionTable; +import javax.persistence.Column; import javax.persistence.ElementCollection; import javax.persistence.Entity; import javax.persistence.FetchType; @@ -37,7 +38,7 @@ import javax.persistence.Table; * */ @Entity -@Table(name="whitelistedsite") +@Table(name="whitelisted_site") @NamedQueries({ @NamedQuery(name = "WhitelistedSite.getAll", query = "select w from WhitelistedSite w"), @NamedQuery(name = "WhitelistedSite.getByClientId", query = "select w from WhitelistedSite w where w.clientId = :clientId"), @@ -85,6 +86,7 @@ public class WhitelistedSite { * @return the clientId */ @Basic + @Column(name="client_id") public String getClientId() { return clientId; } @@ -116,6 +118,7 @@ public class WhitelistedSite { } @Basic + @Column(name="creator_user_id") public String getCreatorUserId() { return creatorUserId; } diff --git a/openid-connect-server/db/tables/accesstoken.sql b/openid-connect-server/db/tables/access_token.sql similarity index 63% rename from openid-connect-server/db/tables/accesstoken.sql rename to openid-connect-server/db/tables/access_token.sql index b0ff62fd8..1da4f9f40 100644 --- a/openid-connect-server/db/tables/accesstoken.sql +++ b/openid-connect-server/db/tables/access_token.sql @@ -1,10 +1,10 @@ -CREATE TABLE accesstoken ( +CREATE TABLE access_token ( id VARCHAR(256), token_value VARCHAR(4096), expiration TIMESTAMP, - tokenType VARCHAR(256), + token_type VARCHAR(256), refresh_token_id VARCHAR(256), client_id VARCHAR(256), authentication LONGBLOB, - idTokenString VARCHAR(4096) + id_token_string VARCHAR(4096) ); \ No newline at end of file diff --git a/openid-connect-server/db/tables/approved_site.sql b/openid-connect-server/db/tables/approved_site.sql new file mode 100644 index 000000000..6fbc5130b --- /dev/null +++ b/openid-connect-server/db/tables/approved_site.sql @@ -0,0 +1,9 @@ +CREATE TABLE approved_site ( + id VARCHAR(256), + user_id VARCHAR(256), + client_id VARCHAR(256), + creation_date DATE, + access_date DATE, + timeout_date DATE, + whitelisted_site_id VARCHAR(256) +); \ No newline at end of file diff --git a/openid-connect-server/db/tables/approvedsite.sql b/openid-connect-server/db/tables/approvedsite.sql deleted file mode 100644 index fde183f41..000000000 --- a/openid-connect-server/db/tables/approvedsite.sql +++ /dev/null @@ -1,9 +0,0 @@ -CREATE TABLE approvedsite ( - id BIGINT AUTO_INCREMENT PRIMARY KEY, - userId VARCHAR(256), - clientId VARCHAR(256), - creationDate DATE, - accessDate DATE, - timeoutDate DATE, - whitelistedsite_id VARCHAR(256) -); \ No newline at end of file diff --git a/openid-connect-server/db/tables/authentication_holder.sql b/openid-connect-server/db/tables/authentication_holder.sql index 498ec5a07..eb064673c 100644 --- a/openid-connect-server/db/tables/authentication_holder.sql +++ b/openid-connect-server/db/tables/authentication_holder.sql @@ -1,5 +1,5 @@ -CREATE TABLE authentication_holder { +CREATE TABLE authentication_holder ( id VARCHAR(256), owner_id VARCHAR(256), authentication LONGBLOB -} \ No newline at end of file +); \ No newline at end of file diff --git a/openid-connect-server/db/tables/client_details.sql b/openid-connect-server/db/tables/client_details.sql new file mode 100644 index 000000000..af7b9d531 --- /dev/null +++ b/openid-connect-server/db/tables/client_details.sql @@ -0,0 +1,41 @@ +CREATE TABLE client_details ( + id VARCHAR(256), + client_description VARCHAR(256), + allow_refresh TINYINT, + allow_multiple_access_tokens TINYINT, + reuse_refresh_tokens TINYINT, + + client_id VARCHAR(256), + client_secret VARCHAR(2000), + access_token_validity_seconds BIGINT, + refresh_token_validity_seconds BIGINT, + + application_type VARCHAR(256), + application_name VARCHAR(256), + token_endpoint_auth_type VARCHAR(256), + user_id_type VARCHAR(256), + + logo_url VARCHAR(256), + policy_url VARCHAR(256), + jwk_url VARCHAR(256), + jwk_encryption_url VARCHAR(256), + x509_url VARCHAR(256), + x509_encryption_url VARCHAR(256), + sector_identifier_url VARCHAR(256), + + requre_signed_request_object VARCHAR(256), + + user_info_signed_response_alg VARCHAR(256), + user_info_encrypted_response_alg VARCHAR(256), + user_info_encrypted_response_enc VARCHAR(256), + user_info_encrypted_response_int VARCHAR(256), + + id_token_signed_response_alg VARCHAR(256), + id_token_encrypted_response_alg VARCHAR(256), + id_token_encrypted_response_enc VARCHAR(256), + id_token_encrypted_response_int VARCHAR(256), + + default_max_age BIGINT, + require_auth_time TINYINT, + default_acr VARCHAR(256) +); \ No newline at end of file diff --git a/openid-connect-server/db/tables/clientdetails.sql b/openid-connect-server/db/tables/clientdetails.sql deleted file mode 100644 index ab272fb83..000000000 --- a/openid-connect-server/db/tables/clientdetails.sql +++ /dev/null @@ -1,41 +0,0 @@ -CREATE TABLE clientdetails ( - id VARCHAR(256), - clientDescription VARCHAR(256), - allowRefresh TINYINT, - allowMultipleAccessTokens TINYINT, - reuseRefreshTokens TINYINT, - - clientId VARCHAR(256), - clientSecret VARCHAR(2000), - accessTokenValiditySeconds BIGINT, - refreshTokenValiditySeconds BIGINT, - - applicationType VARCHAR(256), - applicationName VARCHAR(256), - tokenEndpointAuthType VARCHAR(256), - userIdType VARCHAR(256), - - logoUrl VARCHAR(256), - policyUrl VARCHAR(256), - jwkUrl VARCHAR(256), - jwkEncryptionUrl VARCHAR(256), - x509Url VARCHAR(256) - x509EncryptionUrl VARCHAR(256), - sectorIdentifierUrl VARCHAR(256), - - requreSignedRequestObject VARCHAR(256), - - userInfoSignedResponseAlg VARCHAR(256), - userInfoEncryptedResponseAlg VARCHAR(256), - userInfoEncryptedResponseEnc VARCHAR(256), - userInfoEncryptedResponseInt VARCHAR(256), - - idTokenSignedResponseAlg VARCHAR(256), - idTokenEncryptedResponseAlg VARCHAR(256), - idTokenEncryptedResponseEnc VARCHAR(256), - idTokenEncryptedResponseInt VARCHAR(256), - - defaultMaxAge BIGINT, - requireAuthTime TINYINT, - defaultACR VARCHAR(256) -); \ No newline at end of file diff --git a/openid-connect-server/db/tables/contact.sql b/openid-connect-server/db/tables/contact.sql index abda041fe..d065c656a 100644 --- a/openid-connect-server/db/tables/contact.sql +++ b/openid-connect-server/db/tables/contact.sql @@ -1,4 +1,4 @@ -CREATE TABLE contact { +CREATE TABLE contact ( owner_id VARCHAR(256), contact VARCHAR(256) -} \ No newline at end of file +); \ No newline at end of file diff --git a/openid-connect-server/db/tables/refreshtoken.sql b/openid-connect-server/db/tables/refresh_token.sql similarity index 52% rename from openid-connect-server/db/tables/refreshtoken.sql rename to openid-connect-server/db/tables/refresh_token.sql index b8f5dc8db..30d358863 100644 --- a/openid-connect-server/db/tables/refreshtoken.sql +++ b/openid-connect-server/db/tables/refresh_token.sql @@ -1,6 +1,6 @@ -CREATE TABLE refreshtoken ( +CREATE TABLE refresh_token ( id VARCHAR(256), - tokenValue VARCHAR(4096), + token_value VARCHAR(4096), expiration TIMESTAMP, client_id VARCHAR(256) ); \ No newline at end of file diff --git a/openid-connect-server/db/tables/whitelisted_site.sql b/openid-connect-server/db/tables/whitelisted_site.sql new file mode 100644 index 000000000..1a2f6d447 --- /dev/null +++ b/openid-connect-server/db/tables/whitelisted_site.sql @@ -0,0 +1,5 @@ +CREATE TABLE whitelisted_site ( + id VARCHAR(256), + creator_user_id VARCHAR(256), + client_id VARCHAR(256) +); \ No newline at end of file diff --git a/openid-connect-server/db/tables/whitelistedsite.sql b/openid-connect-server/db/tables/whitelistedsite.sql deleted file mode 100644 index 0b3782c33..000000000 --- a/openid-connect-server/db/tables/whitelistedsite.sql +++ /dev/null @@ -1,5 +0,0 @@ -CREATE TABLE whitelistedsite ( - id BIGINT AUTO_INCREMENT PRIMARY KEY, - creatorUserId VARCHAR(256), - clientId VARCHAR(256) -); \ No newline at end of file