Fix column foreign key data type

make client_id in access_token and approved_site_scope,
whitelisted_site_id in approved_site the same type at the key they
refer to.
pull/704/merge
Wolter Eldering 2014-08-07 22:02:12 +02:00 committed by Justin Richer
parent e9d764e53e
commit 0e50b2f250
1 changed files with 3 additions and 3 deletions

View File

@ -8,7 +8,7 @@ CREATE TABLE IF NOT EXISTS access_token (
expiration TIMESTAMP,
token_type VARCHAR(256),
refresh_token_id BIGINT,
client_id VARCHAR(256),
client_id BIGINT,
auth_holder_id BIGINT,
id_token_id BIGINT,
approved_site_id BIGINT
@ -31,7 +31,7 @@ CREATE TABLE IF NOT EXISTS approved_site (
creation_date TIMESTAMP,
access_date TIMESTAMP,
timeout_date TIMESTAMP,
whitelisted_site_id VARCHAR(256)
whitelisted_site_id BIGINT
);
CREATE TABLE IF NOT EXISTS approved_site_scope (
@ -143,7 +143,7 @@ CREATE TABLE IF NOT EXISTS refresh_token (
token_value VARCHAR(4096),
expiration TIMESTAMP,
auth_holder_id BIGINT,
client_id VARCHAR(256)
client_id BIGINT
);
CREATE TABLE IF NOT EXISTS client_resource (