add db table changes

pull/111/head
Thashmi-nil 2 years ago
parent 6cf960ce4c
commit e6d268c9c2

@ -422,6 +422,8 @@ CREATE TABLE IF NOT EXISTS DM_APP_ICONS (
ICON_PATH VARCHAR(150) DEFAULT NULL,
PACKAGE_NAME VARCHAR(150) NOT NULL,
VERSION VARCHAR(50) DEFAULT '1.1.0',
CREATED_TIMESTAMP TIMESTAMP NOT NULL,
TENANT_ID INTEGER NOT NULL,
PRIMARY KEY (ID)
);

@ -452,6 +452,8 @@ CREATE TABLE DM_APP_ICONS (
ICON_PATH VARCHAR(150) DEFAULT NULL,
PACKAGE_NAME VARCHAR(150) NOT NULL,
VERSION VARCHAR(50) DEFAULT '1.1.0',
CREATED_TIMESTAMP DATETIME2 NOT NULL,
TENANT_ID INTEGER NOT NULL,
PRIMARY KEY (ID)
);

@ -463,6 +463,8 @@ CREATE TABLE IF NOT EXISTS DM_APP_ICONS (
ICON_PATH VARCHAR(150) DEFAULT NULL,
PACKAGE_NAME VARCHAR(150) NOT NULL,
VERSION VARCHAR(50) DEFAULT '1.1.0',
CREATED_TIMESTAMP TIMESTAMP NOT NULL,
TENANT_ID INTEGER NOT NULL,
PRIMARY KEY (ID)
)ENGINE = InnoDB;

@ -753,6 +753,8 @@ CREATE TABLE DM_APP_ICONS (
ICON_PATH VARCHAR2(150) DEFAULT NULL,
PACKAGE_NAME VARCHAR2(150) NOT NULL,
VERSION VARCHAR2(50) DEFAULT '1.1.0',
CREATED_TIMESTAMP TIMESTAMP(0) NOT NULL,
TENANT_ID NUMBER(10) NOT NULL,
PRIMARY KEY (ID)
)
/

@ -497,6 +497,8 @@ CREATE TABLE IF NOT EXISTS DM_APP_ICONS (
ICON_PATH VARCHAR(150) DEFAULT NULL,
PACKAGE_NAME VARCHAR(150) NOT NULL,
VERSION VARCHAR(50) DEFAULT '1.1.0',
CREATED_TIMESTAMP TIMESTAMP(0) NOT NULL,
TENANT_ID INTEGER NOT NULL,
PRIMARY KEY (ID)
)
;
@ -670,7 +672,7 @@ CREATE TABLE IF NOT EXISTS DM_OTP_DATA (
EMAIL VARCHAR(100) NOT NULL,
EMAIL_TYPE VARCHAR(20) NOT NULL,
META_INFO VARCHAR(20000) NOT NULL,
CREATED_AT TIMESTAMP(0) NOT NULL,
CREATED_AT TIMESTAMP NOT NULL,
EXPIRY_TIME INT NOT NULL DEFAULT 3600,
IS_EXPIRED BOOLEAN DEFAULT false,
PRIMARY KEY (ID),

Loading…
Cancel
Save