This is an automated email from the ASF dual-hosted git repository.

ningjiang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/servicecomb-pack.git


The following commit(s) were added to refs/heads/master by this push:
     new e2c834d  SCB-1029 Extended size of compensationMethod file
e2c834d is described below

commit e2c834d8ddbc57895f7d3cf14c2520a966168484
Author: Willem Jiang <[email protected]>
AuthorDate: Wed Nov 28 10:54:56 2018 +0800

    SCB-1029 Extended size of compensationMethod file
---
 alpha/alpha-server/src/main/resources/schema-mysql.sql      | 10 +++++-----
 alpha/alpha-server/src/main/resources/schema-postgresql.sql | 10 +++++-----
 alpha/alpha-server/src/test/resources/schema.sql            |  8 ++++----
 3 files changed, 14 insertions(+), 14 deletions(-)

diff --git a/alpha/alpha-server/src/main/resources/schema-mysql.sql 
b/alpha/alpha-server/src/main/resources/schema-mysql.sql
index 776fb07..2bf235f 100644
--- a/alpha/alpha-server/src/main/resources/schema-mysql.sql
+++ b/alpha/alpha-server/src/main/resources/schema-mysql.sql
@@ -24,11 +24,11 @@ CREATE TABLE IF NOT EXISTS TxEvent (
   localTxId varchar(36) NOT NULL,
   parentTxId varchar(36) DEFAULT NULL,
   type varchar(50) NOT NULL,
-  compensationMethod varchar(256) NOT NULL,
+  compensationMethod varchar(512) NOT NULL,
   expiryTime datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
   payloads blob,
   retries int(11) NOT NULL DEFAULT '0',
-  retryMethod varchar(256) DEFAULT NULL,
+  retryMethod varchar(512) DEFAULT NULL,
   PRIMARY KEY (surrogateId),
   INDEX saga_events_index (surrogateId, globalTxId, localTxId, type, 
expiryTime),
   INDEX saga_global_tx_index (globalTxId)
@@ -42,7 +42,7 @@ CREATE TABLE IF NOT EXISTS Command (
   globalTxId varchar(36) NOT NULL,
   localTxId varchar(36) NOT NULL,
   parentTxId varchar(36) DEFAULT NULL,
-  compensationMethod varchar(256) NOT NULL,
+  compensationMethod varchar(512) NOT NULL,
   payloads blob,
   status varchar(12),
   lastModified datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
@@ -89,8 +89,8 @@ CREATE TABLE IF NOT EXISTS tcc_participate_event (
   globalTxId varchar(36) NOT NULL,
   localTxId varchar(36) NOT NULL,
   parentTxId varchar(36) DEFAULT NULL,
-  confirmMethod varchar(256) NOT NULL,
-  cancelMethod varchar(256) NOT NULL,
+  confirmMethod varchar(512) NOT NULL,
+  cancelMethod varchar(512) NOT NULL,
   status varchar(50) NOT NULL,
   creationTime datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
   lastModified datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
diff --git a/alpha/alpha-server/src/main/resources/schema-postgresql.sql 
b/alpha/alpha-server/src/main/resources/schema-postgresql.sql
index 39cdf82..2f21017 100644
--- a/alpha/alpha-server/src/main/resources/schema-postgresql.sql
+++ b/alpha/alpha-server/src/main/resources/schema-postgresql.sql
@@ -24,9 +24,9 @@ CREATE TABLE IF NOT EXISTS TxEvent (
   localTxId varchar(36) NOT NULL,
   parentTxId varchar(36) DEFAULT NULL,
   type varchar(50) NOT NULL,
-  compensationMethod varchar(256) NOT NULL,
+  compensationMethod varchar(512) NOT NULL,
   expiryTime timestamp(6) NOT NULL,
-  retryMethod varchar(256) NOT NULL,
+  retryMethod varchar(512) NOT NULL,
   retries int NOT NULL DEFAULT 0,
   payloads bytea
 );
@@ -43,7 +43,7 @@ CREATE TABLE IF NOT EXISTS Command (
   globalTxId varchar(36) NOT NULL,
   localTxId varchar(36) NOT NULL,
   parentTxId varchar(36) DEFAULT NULL,
-  compensationMethod varchar(256) NOT NULL,
+  compensationMethod varchar(512) NOT NULL,
   payloads bytea,
   status varchar(12),
   lastModified timestamp(6) NOT NULL DEFAULT CURRENT_DATE,
@@ -91,8 +91,8 @@ CREATE TABLE IF NOT EXISTS tcc_participate_event (
   globalTxId varchar(36) NOT NULL,
   localTxId varchar(36) NOT NULL,
   parentTxId varchar(36) DEFAULT NULL,
-  confirmMethod varchar(256) NOT NULL,
-  cancelMethod varchar(256) NOT NULL,
+  confirmMethod varchar(512) NOT NULL,
+  cancelMethod varchar(512) NOT NULL,
   status varchar(50) NOT NULL,
   creationTime timestamp(6) NOT NULL DEFAULT CURRENT_DATE,
   lastModified timestamp(6) NOT NULL DEFAULT CURRENT_DATE
diff --git a/alpha/alpha-server/src/test/resources/schema.sql 
b/alpha/alpha-server/src/test/resources/schema.sql
index f003d45..292ade7 100644
--- a/alpha/alpha-server/src/test/resources/schema.sql
+++ b/alpha/alpha-server/src/test/resources/schema.sql
@@ -24,7 +24,7 @@ CREATE TABLE IF NOT EXISTS TxEvent (
   localTxId varchar(36) NOT NULL,
   parentTxId varchar(36) DEFAULT NULL,
   type varchar(50) NOT NULL,
-  compensationMethod varchar(256) NOT NULL,
+  compensationMethod varchar(512) NOT NULL,
   expiryTime TIMESTAMP NOT NULL,
   retryMethod varchar(256) NOT NULL,
   retries int DEFAULT 0 NOT NULL,
@@ -39,7 +39,7 @@ CREATE TABLE IF NOT EXISTS Command (
   globalTxId varchar(36) NOT NULL,
   localTxId varchar(36) NOT NULL,
   parentTxId varchar(36) DEFAULT NULL,
-  compensationMethod varchar(256) NOT NULL,
+  compensationMethod varchar(512) NOT NULL,
   payloads blob,
   status varchar(12),
   lastModified TIMESTAMP DEFAULT CURRENT_TIMESTAMP NOT NULL,
@@ -80,8 +80,8 @@ CREATE TABLE IF NOT EXISTS tcc_participate_event (
   globalTxId varchar(36) NOT NULL,
   localTxId varchar(36) NOT NULL,
   parentTxId varchar(36) DEFAULT NULL,
-  confirmMethod varchar(256) NOT NULL,
-  cancelMethod varchar(256) NOT NULL,
+  confirmMethod varchar(512) NOT NULL,
+  cancelMethod varchar(512) NOT NULL,
   status varchar(50) NOT NULL,
   creationTime TIMESTAMP DEFAULT CURRENT_TIMESTAMP NOT NULL,
   lastModified TIMESTAMP DEFAULT CURRENT_TIMESTAMP NOT NULL

Reply via email to