Skip to content

Commit

Permalink
Add new column to AM_API_CLIENT_CERTIFICATE in DB Scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
RusJaI committed May 31, 2024
1 parent e35c332 commit 1860f5c
Show file tree
Hide file tree
Showing 9 changed files with 9 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1890,6 +1890,7 @@ CREATE TABLE AM_API_CLIENT_CERTIFICATE (
CERTIFICATE BLOB NOT NULL,
REMOVED INTEGER DEFAULT 0 NOT NULL,
TIER_NAME VARCHAR2 (512),
KEY_TYPE VARCHAR2(20) DEFAULT 'PRODUCTION' NOT NULL,
REVISION_UUID VARCHAR2(255) DEFAULT 'Current API' NOT NULL,
FOREIGN KEY (API_ID) REFERENCES AM_API (API_ID) ON DELETE CASCADE,
PRIMARY KEY (ALIAS, TENANT_ID, REMOVED, REVISION_UUID)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1890,6 +1890,7 @@ CREATE TABLE AM_API_CLIENT_CERTIFICATE (
CERTIFICATE BLOB NOT NULL,
REMOVED INTEGER DEFAULT 0 NOT NULL,
TIER_NAME VARCHAR2 (512),
KEY_TYPE VARCHAR2(20) DEFAULT 'PRODUCTION' NOT NULL,
REVISION_UUID VARCHAR2(255) DEFAULT 'Current API' NOT NULL,
FOREIGN KEY (API_ID) REFERENCES AM_API (API_ID) ON DELETE CASCADE,
PRIMARY KEY (ALIAS, TENANT_ID, REMOVED, REVISION_UUID)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2226,6 +2226,7 @@ CREATE TABLE AM_API_CLIENT_CERTIFICATE (
CERTIFICATE VARBINARY(MAX) NOT NULL,
REMOVED BIT NOT NULL DEFAULT 0,
TIER_NAME VARCHAR(512),
KEY_TYPE VARCHAR(20) NOT NULL DEFAULT 'PRODUCTION',
REVISION_UUID VARCHAR(255) NOT NULL DEFAULT 'Current API',
PRIMARY KEY (ALIAS, TENANT_ID, REMOVED, REVISION_UUID),
FOREIGN KEY (API_ID) REFERENCES AM_API(API_ID) ON DELETE CASCADE
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2769,6 +2769,7 @@ CREATE TABLE AM_API_CLIENT_CERTIFICATE (
CERTIFICATE BLOB NOT NULL,
REMOVED SMALLINT NOT NULL DEFAULT 0,
TIER_NAME VARCHAR (512),
KEY_TYPE VARCHAR(20) NOT NULL DEFAULT 'PRODUCTION',
REVISION_UUID VARCHAR(255) NOT NULL DEFAULT 'Current API',
FOREIGN KEY (API_ID) REFERENCES AM_API (API_ID) ON DELETE CASCADE,
PRIMARY KEY (ALIAS, TENANT_ID, REMOVED, REVISION_UUID)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2237,6 +2237,7 @@ CREATE TABLE AM_API_CLIENT_CERTIFICATE (
CERTIFICATE VARBINARY(MAX) NOT NULL,
REMOVED BIT NOT NULL DEFAULT 0,
TIER_NAME VARCHAR(512),
KEY_TYPE VARCHAR(20) NOT NULL DEFAULT 'PRODUCTION',
REVISION_UUID VARCHAR(255) NOT NULL DEFAULT 'Current API',
PRIMARY KEY (ALIAS, TENANT_ID, REMOVED, REVISION_UUID),
FOREIGN KEY (API_ID) REFERENCES AM_API(API_ID) ON DELETE CASCADE
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3221,6 +3221,7 @@ CREATE TABLE AM_API_CLIENT_CERTIFICATE (
CERTIFICATE BLOB NOT NULL,
REMOVED INTEGER DEFAULT 0 NOT NULL,
TIER_NAME VARCHAR2 (512),
KEY_TYPE VARCHAR2(20) DEFAULT 'PRODUCTION' NOT NULL,
REVISION_UUID VARCHAR2(255) DEFAULT 'Current API' NOT NULL,
FOREIGN KEY (API_ID) REFERENCES AM_API (API_ID) ON DELETE CASCADE,
PRIMARY KEY (ALIAS, TENANT_ID, REMOVED, REVISION_UUID)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3221,6 +3221,7 @@ CREATE TABLE AM_API_CLIENT_CERTIFICATE (
CERTIFICATE BLOB NOT NULL,
REMOVED INTEGER DEFAULT 0 NOT NULL,
TIER_NAME VARCHAR2 (512),
KEY_TYPE VARCHAR2(20) DEFAULT 'PRODUCTION' NOT NULL,
REVISION_UUID VARCHAR2(255) DEFAULT 'Current API' NOT NULL,
FOREIGN KEY (API_ID) REFERENCES AM_API (API_ID) ON DELETE CASCADE,
PRIMARY KEY (ALIAS, TENANT_ID, REMOVED, REVISION_UUID)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3195,6 +3195,7 @@ CREATE TABLE AM_API_CLIENT_CERTIFICATE (
CERTIFICATE BLOB NOT NULL,
REMOVED INTEGER DEFAULT 0 NOT NULL,
TIER_NAME VARCHAR2(512),
KEY_TYPE VARCHAR2(20) DEFAULT 'PRODUCTION' NOT NULL,
REVISION_UUID VARCHAR2(255) DEFAULT 'Current API' NOT NULL,
FOREIGN KEY (API_ID) REFERENCES AM_API (API_ID) ON DELETE CASCADE,
PRIMARY KEY (ALIAS, TENANT_ID, REMOVED, REVISION_UUID)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2327,6 +2327,7 @@ CREATE TABLE AM_API_CLIENT_CERTIFICATE (
CERTIFICATE BYTEA NOT NULL,
REMOVED BOOLEAN NOT NULL DEFAULT '0',
TIER_NAME VARCHAR(512),
KEY_TYPE VARCHAR(20) NOT NULL DEFAULT 'PRODUCTION',
REVISION_UUID VARCHAR(255) NOT NULL DEFAULT 'Current API',
FOREIGN KEY (API_ID) REFERENCES AM_API (API_ID) ON DELETE CASCADE,
PRIMARY KEY (ALIAS, TENANT_ID, REMOVED, REVISION_UUID)
Expand Down

0 comments on commit 1860f5c

Please sign in to comment.