Skip to content

Commit

Permalink
Add: DB2 Schema for Sequence Backend
Browse files Browse the repository at this point in the history
  • Loading branch information
BLasan committed Oct 3, 2024
1 parent 732c5e3 commit 4daf506
Showing 1 changed file with 11 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2339,6 +2339,17 @@ CREATE TABLE AM_API (
UNIQUE (API_PROVIDER,API_NAME,API_VERSION,ORGANIZATION)
)/

CREATE TABLE AM_API_SEQUENCE_BACKEND (
ID VARCHAR(60) NOT NULL,
API_UUID VARCHAR(256) NOT NULL,
REVISION_UUID VARCHAR(256) DEFAULT '0',
SEQUENCE BLOB NOT NULL,
NAME VARCHAR(256) NOT NULL,
TYPE VARCHAR(120) NOT NULL,
PRIMARY KEY (ID, API_UUID, REVISION_UUID, TYPE),
FOREIGN KEY (API_UUID) REFERENCES AM_API(API_UUID) ON DELETE CASCADE
)/

CREATE TABLE AM_GRAPHQL_COMPLEXITY (
UUID VARCHAR(256) NOT NULL,
API_ID INTEGER NOT NULL,
Expand Down

0 comments on commit 4daf506

Please sign in to comment.