Fix AP_IDENTITY_SERVER table script

temp
Mohamed Rashd 3 years ago
parent cadc9c9c87
commit cc15df69cc

@ -285,13 +285,13 @@ CREATE TABLE IF NOT EXISTS AP_SCHEDULED_SUBSCRIPTION(
CREATE TABLE IF NOT EXISTS AP_IDENTITY_SERVER ( CREATE TABLE IF NOT EXISTS AP_IDENTITY_SERVER (
ID INTEGER NOT NULL AUTO_INCREMENT, ID INTEGER NOT NULL AUTO_INCREMENT,
NAME VARCHAR(255) NOT NULL, NAME VARCHAR(255) NOT NULL,
PROVIDER_NAME VARCHAR(255) NOT NULL,
DESCRIPTION VARCHAR(255) NOT NULL, DESCRIPTION VARCHAR(255) NOT NULL,
URL VARCHAR(255) NOT NULL, URL VARCHAR(255) NOT NULL,
SP_APPS_URI VARCHAR(255) NOT NULL, API_PARAMS VARCHAR(255) NOT NULL,
SP_APPS_API VARCHAR(255) NULL,
TENANT_ID INT NOT NULL,
USERNAME VARCHAR(255) NOT NULL, USERNAME VARCHAR(255) NOT NULL,
PASSWORD VARCHAR(255) NOT NULL PASSWORD VARCHAR(255) NOT NULL
TENANT_ID INT NOT NULL,
PRIMARY KEY(ID) PRIMARY KEY(ID)
); );

@ -286,13 +286,13 @@ CREATE TABLE AP_SCHEDULED_SUBSCRIPTION(
CREATE TABLE IF NOT EXISTS AP_IDENTITY_SERVER ( CREATE TABLE IF NOT EXISTS AP_IDENTITY_SERVER (
ID INTEGER NOT NULL IDENTITY, ID INTEGER NOT NULL IDENTITY,
NAME VARCHAR(255) NOT NULL, NAME VARCHAR(255) NOT NULL,
PROVIDER_NAME VARCHAR(255) NOT NULL,
DESCRIPTION VARCHAR(255) NOT NULL, DESCRIPTION VARCHAR(255) NOT NULL,
URL VARCHAR(255) NOT NULL, URL VARCHAR(255) NOT NULL,
SP_APPS_URI VARCHAR(255) NOT NULL, API_PARAMS VARCHAR(255) NOT NULL,
SP_APPS_API VARCHAR(255) NULL,
TENANT_ID INT NOT NULL,
USERNAME VARCHAR(255) NOT NULL, USERNAME VARCHAR(255) NOT NULL,
PASSWORD VARCHAR(255) NOT NULL PASSWORD VARCHAR(255) NOT NULL
TENANT_ID INT NOT NULL,
PRIMARY KEY(ID) PRIMARY KEY(ID)
); );

@ -242,12 +242,12 @@ CREATE TABLE IF NOT EXISTS AP_IDENTITY_SERVER (
ID INT AUTO_INCREMENT PRIMARY KEY, ID INT AUTO_INCREMENT PRIMARY KEY,
NAME VARCHAR(255) NOT NULL, NAME VARCHAR(255) NOT NULL,
DESCRIPTION VARCHAR(255) NOT NULL, DESCRIPTION VARCHAR(255) NOT NULL,
PROVIDER_NAME VARCHAR(255) NOT NULL,
URL VARCHAR(255) NOT NULL, URL VARCHAR(255) NOT NULL,
SP_APPS_URI VARCHAR(255) NOT NULL, API_PARAMS TEXT NOT NULL,
SP_APPS_API VARCHAR(255) NULL,
TENANT_ID INT NOT NULL,
USERNAME VARCHAR(255) NOT NULL, USERNAME VARCHAR(255) NOT NULL,
PASSWORD VARCHAR(255) NOT NULL PASSWORD VARCHAR(255) NOT NULL
TENANT_ID INT NOT NULL,
); );
-- ----------------------------------------------------- -- -----------------------------------------------------
-- Table AP_IS_SP_APP_MAPPING -- Table AP_IS_SP_APP_MAPPING

@ -386,13 +386,13 @@ CREATE TABLE AP_SCHEDULED_SUBSCRIPTION (
CREATE TABLE IF NOT EXISTS AP_IDENTITY_SERVER ( CREATE TABLE IF NOT EXISTS AP_IDENTITY_SERVER (
ID number GENERATED BY DEFAULT AS IDENTITY(START WITH 1) NOT NULL, ID number GENERATED BY DEFAULT AS IDENTITY(START WITH 1) NOT NULL,
NAME VARCHAR(255) NOT NULL, NAME VARCHAR(255) NOT NULL,
PROVIDER_NAME VARCHAR(255) NOT NULL,
DESCRIPTION VARCHAR(255) NOT NULL, DESCRIPTION VARCHAR(255) NOT NULL,
URL VARCHAR(255) NOT NULL, URL VARCHAR(255) NOT NULL,
SP_APPS_URI VARCHAR(255) NOT NULL, API_PARAMS VARCHAR(255) NOT NULL,
SP_APPS_API VARCHAR(255) NULL,
TENANT_ID INT NOT NULL,
USERNAME VARCHAR(255) NOT NULL, USERNAME VARCHAR(255) NOT NULL,
PASSWORD VARCHAR(255) NOT NULL PASSWORD VARCHAR(255) NOT NULL
TENANT_ID INT NOT NULL,
PRIMARY KEY(ID) PRIMARY KEY(ID)
) )
/ /

@ -312,13 +312,13 @@ CREATE TABLE IF NOT EXISTS AP_SCHEDULED_SUBSCRIPTION(
CREATE TABLE IF NOT EXISTS AP_IDENTITY_SERVER ( CREATE TABLE IF NOT EXISTS AP_IDENTITY_SERVER (
ID INTEGER NOT NULL DEFAULT NEXTVAL ('AP_IDENTITY_SERVER_seq'), ID INTEGER NOT NULL DEFAULT NEXTVAL ('AP_IDENTITY_SERVER_seq'),
NAME VARCHAR(255) NOT NULL, NAME VARCHAR(255) NOT NULL,
PROVIDER_NAME VARCHAR(255) NOT NULL,
DESCRIPTION VARCHAR(255) NOT NULL, DESCRIPTION VARCHAR(255) NOT NULL,
URL VARCHAR(255) NOT NULL, URL VARCHAR(255) NOT NULL,
SP_APPS_URI VARCHAR(255) NOT NULL, API_PARAMS VARCHAR(255) NOT NULL,
SP_APPS_API VARCHAR(255) NULL,
TENANT_ID INT NOT NULL,
USERNAME VARCHAR(255) NOT NULL, USERNAME VARCHAR(255) NOT NULL,
PASSWORD VARCHAR(255) NOT NULL PASSWORD VARCHAR(255) NOT NULL
TENANT_ID INT NOT NULL,
PRIMARY KEY(ID) PRIMARY KEY(ID)
); );

Loading…
Cancel
Save