Add CORS table to table space due to unique constrain is too long
@@ -1589,16 +1589,16 @@ CREATE TABLE IDN_USER_FUNCTIONALITY_PROPERTY (
)
/
-CREATE TABLE IDN_CORS_ORIGIN (
- ID INT NOT NULL AUTO_INCREMENT,
- TENANT_ID INT NOT NULL,
+CREATE TABLE IF NOT EXISTS IDN_CORS_ORIGIN (
+ ID INTEGER NOT NULL,
+ TENANT_ID INTEGER NOT NULL,
ORIGIN VARCHAR(2048) NOT NULL,
UUID CHAR(36) NOT NULL,
PRIMARY KEY (ID),
UNIQUE (TENANT_ID, ORIGIN),
UNIQUE (UUID)
-)
+) INDEX IN TS32K
/
CREATE SEQUENCE IDN_CORS_ORIGIN_SEQ START WITH 1 INCREMENT BY 1 NOCACHE
/
