Fix issues in oracle script
@@ -147,7 +147,7 @@ CREATE TABLE IDN_OAUTH2_AUTHORIZATION_CODE (
FOREIGN KEY (CONSUMER_KEY_ID) REFERENCES IDN_OAUTH_CONSUMER_APPS(ID) ON DELETE CASCADE)
/
-CREATE TABLE IF NOT EXISTS IDN_OAUTH2_AUTHZ_CODE_SCOPE(
+CREATE TABLE IDN_OAUTH2_AUTHZ_CODE_SCOPE(
CODE_ID VARCHAR2(255),
SCOPE VARCHAR2(60),
TENANT_ID INTEGER DEFAULT -1,
@@ -155,7 +155,7 @@ CREATE TABLE IF NOT EXISTS IDN_OAUTH2_AUTHZ_CODE_SCOPE(
FOREIGN KEY (CODE_ID) REFERENCES IDN_OAUTH2_AUTHORIZATION_CODE (CODE_ID) ON DELETE CASCADE)
/
-CREATE TABLE IF NOT EXISTS IDN_OAUTH2_DEVICE_FLOW (
+CREATE TABLE IDN_OAUTH2_DEVICE_FLOW (
CODE_ID VARCHAR2(255),
DEVICE_CODE VARCHAR2(255),
USER_CODE VARCHAR2(25),
@@ -174,7 +174,7 @@ CREATE TABLE IF NOT EXISTS IDN_OAUTH2_DEVICE_FLOW (
FOREIGN KEY (CONSUMER_KEY_ID) REFERENCES IDN_OAUTH_CONSUMER_APPS(ID) ON DELETE CASCADE)
/
-CREATE TABLE IF NOT EXISTS IDN_OAUTH2_DEVICE_FLOW_SCOPES (
+CREATE TABLE IDN_OAUTH2_DEVICE_FLOW_SCOPES (
ID INTEGER NOT NULL AUTO_INCREMENT,
SCOPE_ID VARCHAR2(255),
SCOPE VARCHAR2(255),
