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 Oct 30, 2024
1 parent b79da77 commit 8cbd0e9
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 @@ -2030,7 +2030,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 @@ -2055,7 +2055,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 @@ -1326,8 +1326,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 @@ -1342,8 +1342,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 @@ -1488,9 +1488,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 @@ -1504,9 +1504,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 @@ -1356,9 +1356,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 @@ -1372,9 +1372,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 @@ -2086,9 +2086,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 @@ -2113,9 +2113,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 @@ -2019,9 +2019,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 @@ -2046,9 +2046,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 8cbd0e9

Please sign in to comment.