drop temporary tables on upgrade script, closes #536

pull/576/head
Justin Richer 2014-02-16 00:58:37 -05:00
parent 9395c3802d
commit 896e49f8e8
2 changed files with 36 additions and 0 deletions

View File

@ -28,6 +28,25 @@ DROP TABLE client_nonce;
DROP TABLE event;
DROP TABLE IF EXISTS authorities_TEMP;
DROP TABLE IF EXISTS users_TEMP;
DROP TABLE IF EXISTS user_info_TEMP;
DROP TABLE IF EXISTS client_details_TEMP;
DROP TABLE IF EXISTS client_scope_TEMP;
DROP TABLE IF EXISTS client_redirect_uri_TEMP;
DROP TABLE IF EXISTS client_grant_type_TEMP;
DROP TABLE IF EXISTS system_scope_TEMP;
CREATE TABLE IF NOT EXISTS pairwise_identifier (
id BIGINT GENERATED BY DEFAULT AS IDENTITY(START WITH 1) PRIMARY KEY,
identifier VARCHAR(256),

View File

@ -26,6 +26,23 @@ DROP TABLE client_nonce;
DROP TABLE event;
DROP TEMPORARY TABLE IF EXISTS authorities_TEMP;
DROP TEMPORARY TABLE IF EXISTS users_TEMP;
DROP TEMPORARY TABLE IF EXISTS user_info_TEMP;
DROP TEMPORARY TABLE IF EXISTS client_details_TEMP;
DROP TEMPORARY TABLE IF EXISTS client_scope_TEMP;
DROP TEMPORARY TABLE IF EXISTS client_redirect_uri_TEMP;
DROP TEMPORARY TABLE IF EXISTS client_grant_type_TEMP;
DROP TEMPORARY TABLE IF EXISTS system_scope_TEMP;
CREATE TABLE IF NOT EXISTS pairwise_identifier (
id BIGINT AUTO_INCREMENT PRIMARY KEY,
identifier VARCHAR(256),