Skip to content

Commit

Permalink
Update schema to support unicode for notification templates
Browse files Browse the repository at this point in the history
  • Loading branch information
darshanasbg committed Nov 7, 2024
1 parent 1894d41 commit 65355b3
Show file tree
Hide file tree
Showing 6 changed files with 30 additions and 30 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2032,7 +2032,7 @@ CREATE TABLE IDN_NOTIFICATION_ORG_TEMPLATE (
LOCALE VARCHAR(50) NOT NULL,
SUBJECT VARCHAR(4000),
BODY CLOB,
FOOTER CLOB,
FOOTER VARCHAR(4000),
CONTENT_TYPE VARCHAR(50),
TYPE_ID INTEGER NOT NULL,
TENANT_ID INTEGER NOT NULL,
Expand All @@ -2057,7 +2057,7 @@ CREATE TABLE IDN_NOTIFICATION_APP_TEMPLATE (
LOCALE VARCHAR(50) NOT NULL,
SUBJECT VARCHAR(4000),
BODY CLOB,
FOOTER CLOB,
FOOTER VARCHAR(4000),
CONTENT_TYPE VARCHAR(50),
TYPE_ID INTEGER NOT NULL,
APP_ID VARCHAR(255) NOT NULL,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1328,8 +1328,8 @@ CREATE TABLE IF NOT EXISTS IDN_NOTIFICATION_ORG_TEMPLATE (
TEMPLATE_KEY VARCHAR(50) NOT NULL,
LOCALE VARCHAR(50) NOT NULL,
SUBJECT VARCHAR(4000),
BODY MEDIUMTEXT,
FOOTER MEDIUMTEXT,
BODY TEXT,
FOOTER VARCHAR(4000),
CONTENT_TYPE VARCHAR(50),
TYPE_ID INTEGER NOT NULL,
TENANT_ID INTEGER NOT NULL,
Expand All @@ -1344,8 +1344,8 @@ CREATE TABLE IF NOT EXISTS IDN_NOTIFICATION_APP_TEMPLATE (
TEMPLATE_KEY VARCHAR(50) NOT NULL,
LOCALE VARCHAR(50) NOT NULL,
SUBJECT VARCHAR(4000),
BODY MEDIUMTEXT,
FOOTER MEDIUMTEXT,
BODY TEXT,
FOOTER VARCHAR(4000),
CONTENT_TYPE VARCHAR(50),
TYPE_ID INTEGER NOT NULL,
APP_ID VARCHAR(255) NOT NULL,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1490,9 +1490,9 @@ CREATE TABLE IF NOT EXISTS IDN_NOTIFICATION_ORG_TEMPLATE (
ID INTEGER NOT NULL AUTO_INCREMENT,
TEMPLATE_KEY VARCHAR(50) NOT NULL,
LOCALE VARCHAR(50) NOT NULL,
SUBJECT VARCHAR(4000),
BODY MEDIUMTEXT,
FOOTER MEDIUMTEXT,
SUBJECT VARCHAR(4000) CHARACTER SET utf8mb4,
BODY MEDIUMTEXT CHARACTER SET utf8mb4,
FOOTER VARCHAR(4000) CHARACTER SET utf8mb4,
CONTENT_TYPE VARCHAR(50),
TYPE_ID INTEGER NOT NULL,
TENANT_ID INTEGER NOT NULL,
Expand All @@ -1506,9 +1506,9 @@ CREATE TABLE IF NOT EXISTS IDN_NOTIFICATION_APP_TEMPLATE (
ID INTEGER NOT NULL AUTO_INCREMENT,
TEMPLATE_KEY VARCHAR(50) NOT NULL,
LOCALE VARCHAR(50) NOT NULL,
SUBJECT VARCHAR(4000),
BODY MEDIUMTEXT,
FOOTER MEDIUMTEXT,
SUBJECT VARCHAR(4000) CHARACTER SET utf8mb4,
BODY MEDIUMTEXT CHARACTER SET utf8mb4,
FOOTER VARCHAR(4000) CHARACTER SET utf8mb4,
CONTENT_TYPE VARCHAR(50),
TYPE_ID INTEGER NOT NULL,
APP_ID VARCHAR(255) NOT NULL,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1358,9 +1358,9 @@ CREATE TABLE IF NOT EXISTS IDN_NOTIFICATION_ORG_TEMPLATE (
ID INTEGER NOT NULL AUTO_INCREMENT,
TEMPLATE_KEY VARCHAR(50) NOT NULL,
LOCALE VARCHAR(50) NOT NULL,
SUBJECT VARCHAR(4000),
BODY MEDIUMTEXT,
FOOTER MEDIUMTEXT,
SUBJECT VARCHAR(4000) CHARACTER SET utf8mb4,
BODY MEDIUMTEXT CHARACTER SET utf8mb4,
FOOTER VARCHAR(4000) CHARACTER SET utf8mb4,
CONTENT_TYPE VARCHAR(50),
TYPE_ID INTEGER NOT NULL,
TENANT_ID INTEGER NOT NULL,
Expand All @@ -1374,9 +1374,9 @@ CREATE TABLE IF NOT EXISTS IDN_NOTIFICATION_APP_TEMPLATE (
ID INTEGER NOT NULL AUTO_INCREMENT,
TEMPLATE_KEY VARCHAR(50) NOT NULL,
LOCALE VARCHAR(50) NOT NULL,
SUBJECT VARCHAR(4000),
BODY MEDIUMTEXT,
FOOTER MEDIUMTEXT,
SUBJECT VARCHAR(4000) CHARACTER SET utf8mb4,
BODY MEDIUMTEXT CHARACTER SET utf8mb4,
FOOTER VARCHAR(4000) CHARACTER SET utf8mb4,
CONTENT_TYPE VARCHAR(50),
TYPE_ID INTEGER NOT NULL,
APP_ID VARCHAR(255) NOT NULL,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2088,9 +2088,9 @@ CREATE TABLE IDN_NOTIFICATION_ORG_TEMPLATE (
ID INTEGER NOT NULL,
TEMPLATE_KEY VARCHAR(50) NOT NULL,
LOCALE VARCHAR(50) NOT NULL,
SUBJECT VARCHAR(4000),
BODY CLOB,
FOOTER CLOB,
SUBJECT NVARCHAR2(4000),
BODY NCLOB,
FOOTER NVARCHAR2(4000),
CONTENT_TYPE VARCHAR(50),
TYPE_ID INTEGER NOT NULL,
TENANT_ID INTEGER NOT NULL,
Expand All @@ -2115,9 +2115,9 @@ CREATE TABLE IDN_NOTIFICATION_APP_TEMPLATE (
ID INTEGER NOT NULL,
TEMPLATE_KEY VARCHAR(50) NOT NULL,
LOCALE VARCHAR(50) NOT NULL,
SUBJECT VARCHAR(4000),
BODY CLOB,
FOOTER CLOB,
SUBJECT NVARCHAR2(4000),
BODY NCLOB,
FOOTER NVARCHAR2(4000),
CONTENT_TYPE VARCHAR(50),
TYPE_ID INTEGER NOT NULL,
APP_ID VARCHAR(255) NOT NULL,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2021,9 +2021,9 @@ CREATE TABLE IDN_NOTIFICATION_ORG_TEMPLATE (
ID INTEGER NOT NULL,
TEMPLATE_KEY VARCHAR(50) NOT NULL,
LOCALE VARCHAR(50) NOT NULL,
SUBJECT VARCHAR(4000),
BODY CLOB,
FOOTER CLOB,
SUBJECT NVARCHAR2(4000),
BODY NCLOB,
FOOTER NVARCHAR2(4000),
CONTENT_TYPE VARCHAR(50),
TYPE_ID INTEGER NOT NULL,
TENANT_ID INTEGER NOT NULL,
Expand All @@ -2048,9 +2048,9 @@ CREATE TABLE IDN_NOTIFICATION_APP_TEMPLATE (
ID INTEGER NOT NULL,
TEMPLATE_KEY VARCHAR(50) NOT NULL,
LOCALE VARCHAR(50) NOT NULL,
SUBJECT VARCHAR(4000),
BODY CLOB,
FOOTER CLOB,
SUBJECT NVARCHAR2(4000),
BODY NCLOB,
FOOTER NVARCHAR2(4000),
CONTENT_TYPE VARCHAR(50),
TYPE_ID INTEGER NOT NULL,
APP_ID VARCHAR(255) NOT NULL,
Expand Down

0 comments on commit 65355b3

Please sign in to comment.