From 6bb9f67f5ee4e265df1de768c06add13ed234033 Mon Sep 17 00:00:00 2001 From: Amanda Anganes Date: Thu, 9 Aug 2012 12:29:35 -0400 Subject: [PATCH] Removed individual .sql files. All table definitions are now concatenated in database_tables.sql. --- .../db/tables/access_token.sql | 10 ----- openid-connect-server/db/tables/address.sql | 9 ---- .../db/tables/allowed_scope.sql | 4 -- .../db/tables/approved_site.sql | 9 ---- .../db/tables/authentication_holder.sql | 5 --- openid-connect-server/db/tables/authority.sql | 4 -- .../db/tables/authorized_grant_type.sql | 4 -- .../db/tables/client_details.sql | 42 ------------------- openid-connect-server/db/tables/contact.sql | 4 -- openid-connect-server/db/tables/event.sql | 5 --- openid-connect-server/db/tables/idtoken.sql | 3 -- .../db/tables/idtokenclaims.sql | 3 -- .../db/tables/redirect_uri.sql | 4 -- .../db/tables/refresh_token.sql | 6 --- .../db/tables/resource_id.sql | 4 -- openid-connect-server/db/tables/scope.sql | 4 -- openid-connect-server/db/tables/user_info.sql | 21 ---------- .../db/tables/whitelisted_site.sql | 5 --- 18 files changed, 146 deletions(-) delete mode 100644 openid-connect-server/db/tables/access_token.sql delete mode 100644 openid-connect-server/db/tables/address.sql delete mode 100644 openid-connect-server/db/tables/allowed_scope.sql delete mode 100644 openid-connect-server/db/tables/approved_site.sql delete mode 100644 openid-connect-server/db/tables/authentication_holder.sql delete mode 100644 openid-connect-server/db/tables/authority.sql delete mode 100644 openid-connect-server/db/tables/authorized_grant_type.sql delete mode 100644 openid-connect-server/db/tables/client_details.sql delete mode 100644 openid-connect-server/db/tables/contact.sql delete mode 100644 openid-connect-server/db/tables/event.sql delete mode 100644 openid-connect-server/db/tables/idtoken.sql delete mode 100644 openid-connect-server/db/tables/idtokenclaims.sql delete mode 100644 openid-connect-server/db/tables/redirect_uri.sql delete mode 100644 openid-connect-server/db/tables/refresh_token.sql delete mode 100644 openid-connect-server/db/tables/resource_id.sql delete mode 100644 openid-connect-server/db/tables/scope.sql delete mode 100644 openid-connect-server/db/tables/user_info.sql delete mode 100644 openid-connect-server/db/tables/whitelisted_site.sql diff --git a/openid-connect-server/db/tables/access_token.sql b/openid-connect-server/db/tables/access_token.sql deleted file mode 100644 index b1dfe1619..000000000 --- a/openid-connect-server/db/tables/access_token.sql +++ /dev/null @@ -1,10 +0,0 @@ -CREATE TABLE access_token ( - id BIGINT AUTO_INCREMENT PRIMARY KEY, - token_value VARCHAR(4096), - expiration TIMESTAMP, - token_type VARCHAR(256), - refresh_token_id VARCHAR(256), - client_id VARCHAR(256), - auth_holder_id VARCHAR(256), - id_token_string VARCHAR(4096) -); \ No newline at end of file diff --git a/openid-connect-server/db/tables/address.sql b/openid-connect-server/db/tables/address.sql deleted file mode 100644 index f8a64d9dc..000000000 --- a/openid-connect-server/db/tables/address.sql +++ /dev/null @@ -1,9 +0,0 @@ -CREATE TABLE address ( - id BIGINT AUTO_INCREMENT PRIMARY KEY, - formatted VARCHAR(256), - streetAddress VARCHAR(256), - locality VARCHAR(256), - region VARCHAR(256), - postalCode VARCHAR(256), - country VARCHAR(256) -); \ No newline at end of file diff --git a/openid-connect-server/db/tables/allowed_scope.sql b/openid-connect-server/db/tables/allowed_scope.sql deleted file mode 100644 index b17426893..000000000 --- a/openid-connect-server/db/tables/allowed_scope.sql +++ /dev/null @@ -1,4 +0,0 @@ -create table allowed_scope ( - owner_id VARCHAR(256), - allowed_scope VARCHAR(256) -); diff --git a/openid-connect-server/db/tables/approved_site.sql b/openid-connect-server/db/tables/approved_site.sql deleted file mode 100644 index 390f123e1..000000000 --- a/openid-connect-server/db/tables/approved_site.sql +++ /dev/null @@ -1,9 +0,0 @@ -CREATE TABLE approved_site ( - id BIGINT AUTO_INCREMENT PRIMARY KEY, - 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/authentication_holder.sql b/openid-connect-server/db/tables/authentication_holder.sql deleted file mode 100644 index f35a73e9e..000000000 --- a/openid-connect-server/db/tables/authentication_holder.sql +++ /dev/null @@ -1,5 +0,0 @@ -CREATE TABLE authentication_holder ( - id BIGINT AUTO_INCREMENT PRIMARY KEY, - owner_id VARCHAR(256), - authentication LONGBLOB -); \ No newline at end of file diff --git a/openid-connect-server/db/tables/authority.sql b/openid-connect-server/db/tables/authority.sql deleted file mode 100644 index f56c3ab40..000000000 --- a/openid-connect-server/db/tables/authority.sql +++ /dev/null @@ -1,4 +0,0 @@ -CREATE TABLE authority ( - owner_id VARCHAR(4096), - authority LONGBLOB -); \ No newline at end of file diff --git a/openid-connect-server/db/tables/authorized_grant_type.sql b/openid-connect-server/db/tables/authorized_grant_type.sql deleted file mode 100644 index 16997f991..000000000 --- a/openid-connect-server/db/tables/authorized_grant_type.sql +++ /dev/null @@ -1,4 +0,0 @@ -CREATE TABLE authorized_grant_type ( - owner_id VARCHAR(256), - authorized_grant_type VARCHAR(2000) -); \ 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 deleted file mode 100644 index 85f33534f..000000000 --- a/openid-connect-server/db/tables/client_details.sql +++ /dev/null @@ -1,42 +0,0 @@ -CREATE TABLE client_details ( - id BIGINT AUTO_INCREMENT PRIMARY KEY, - client_description VARCHAR(256), - allow_refresh TINYINT, - allow_multiple_access_tokens TINYINT, - reuse_refresh_tokens TINYINT, - id_token_validity_seconds BIGINT, - - 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/contact.sql b/openid-connect-server/db/tables/contact.sql deleted file mode 100644 index d065c656a..000000000 --- a/openid-connect-server/db/tables/contact.sql +++ /dev/null @@ -1,4 +0,0 @@ -CREATE TABLE contact ( - owner_id VARCHAR(256), - contact VARCHAR(256) -); \ No newline at end of file diff --git a/openid-connect-server/db/tables/event.sql b/openid-connect-server/db/tables/event.sql deleted file mode 100644 index b931099ce..000000000 --- a/openid-connect-server/db/tables/event.sql +++ /dev/null @@ -1,5 +0,0 @@ -CREATE TABLE event ( - id BIGINT AUTO_INCREMENT PRIMARY KEY, - type INT(3), - timestamp DATE -); \ No newline at end of file diff --git a/openid-connect-server/db/tables/idtoken.sql b/openid-connect-server/db/tables/idtoken.sql deleted file mode 100644 index 9372032de..000000000 --- a/openid-connect-server/db/tables/idtoken.sql +++ /dev/null @@ -1,3 +0,0 @@ -CREATE TABLE idtoken ( - id BIGINT AUTO_INCREMENT PRIMARY KEY -); \ No newline at end of file diff --git a/openid-connect-server/db/tables/idtokenclaims.sql b/openid-connect-server/db/tables/idtokenclaims.sql deleted file mode 100644 index 3bbf761d4..000000000 --- a/openid-connect-server/db/tables/idtokenclaims.sql +++ /dev/null @@ -1,3 +0,0 @@ -CREATE TABLE idtokenclaims ( - id BIGINT AUTO_INCREMENT PRIMARY KEY -); \ No newline at end of file diff --git a/openid-connect-server/db/tables/redirect_uri.sql b/openid-connect-server/db/tables/redirect_uri.sql deleted file mode 100644 index b443573e3..000000000 --- a/openid-connect-server/db/tables/redirect_uri.sql +++ /dev/null @@ -1,4 +0,0 @@ -CREATE TABLE redirect_uri ( - owner_id VARCHAR(256), - redirect_uri VARCHAR(2000) -); \ No newline at end of file diff --git a/openid-connect-server/db/tables/refresh_token.sql b/openid-connect-server/db/tables/refresh_token.sql deleted file mode 100644 index 8de6106c2..000000000 --- a/openid-connect-server/db/tables/refresh_token.sql +++ /dev/null @@ -1,6 +0,0 @@ -CREATE TABLE refresh_token ( - id BIGINT AUTO_INCREMENT PRIMARY KEY, - token_value VARCHAR(4096), - expiration TIMESTAMP, - client_id VARCHAR(256) -); \ No newline at end of file diff --git a/openid-connect-server/db/tables/resource_id.sql b/openid-connect-server/db/tables/resource_id.sql deleted file mode 100644 index 454f4ee4a..000000000 --- a/openid-connect-server/db/tables/resource_id.sql +++ /dev/null @@ -1,4 +0,0 @@ -CREATE TABLE resource_id ( - owner_id VARCHAR(256), - resource_id VARCHAR(256) -); \ No newline at end of file diff --git a/openid-connect-server/db/tables/scope.sql b/openid-connect-server/db/tables/scope.sql deleted file mode 100644 index 9ae9f7f32..000000000 --- a/openid-connect-server/db/tables/scope.sql +++ /dev/null @@ -1,4 +0,0 @@ -CREATE TABLE scope ( - owner_id VARCHAR(4096), - scope VARCHAR(2048) -); \ No newline at end of file diff --git a/openid-connect-server/db/tables/user_info.sql b/openid-connect-server/db/tables/user_info.sql deleted file mode 100644 index 21c7ef795..000000000 --- a/openid-connect-server/db/tables/user_info.sql +++ /dev/null @@ -1,21 +0,0 @@ -CREATE TABLE user_info ( - id BIGINT AUTO_INCREMENT PRIMARY KEY, - user_id VARCHAR(256), - preferred_username VARCHAR(256), - name VARCHAR(256), - given_name VARCHAR(256), - family_name VARCHAR(256), - middle_name VARCHAR(256), - nickname VARCHAR(256), - profile VARCHAR(256), - picture VARCHAR(256), - website VARCHAR(256), - email VARCHAR(256), - email_verified BOOLEAN, - gender VARCHAR(256), - zone_info VARCHAR(256), - locale VARCHAR(256), - phone_number VARCHAR(256), - address_id VARCHAR(256), - updated_time 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 deleted file mode 100644 index 990ad8e94..000000000 --- a/openid-connect-server/db/tables/whitelisted_site.sql +++ /dev/null @@ -1,5 +0,0 @@ -CREATE TABLE whitelisted_site ( - id BIGINT AUTO_INCREMENT PRIMARY KEY, - creator_user_id VARCHAR(256), - client_id VARCHAR(256) -); \ No newline at end of file