You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@servicecomb.apache.org by ni...@apache.org on 2018/09/14 13:36:04 UTC

[incubator-servicecomb-saga] 01/02: SCB-877 Fixed the Accept test error

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

ningjiang pushed a commit to branch SCB-887
in repository https://gitbox.apache.org/repos/asf/incubator-servicecomb-saga.git

commit e011210b0c5d8ed103323fa29e4fcaec44131620
Author: Willem Jiang <ji...@huawei.com>
AuthorDate: Fri Sep 14 21:15:21 2018 +0800

    SCB-877 Fixed the Accept test error
---
 alpha/alpha-server/src/main/resources/schema-mysql.sql      | 1 +
 alpha/alpha-server/src/main/resources/schema-postgresql.sql | 1 +
 2 files changed, 2 insertions(+)

diff --git a/alpha/alpha-server/src/main/resources/schema-mysql.sql b/alpha/alpha-server/src/main/resources/schema-mysql.sql
index 809cf8a..c134456 100644
--- a/alpha/alpha-server/src/main/resources/schema-mysql.sql
+++ b/alpha/alpha-server/src/main/resources/schema-mysql.sql
@@ -75,6 +75,7 @@ CREATE TABLE IF NOT EXISTS tcc_global_tx_event (
   serviceName varchar(36) NOT NULL,
   instanceId varchar(36) NOT NULL,
   txType varchar(12),
+  status varchar(12),
   creationTime datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
   lastModified datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
   PRIMARY KEY (surrogateId),
diff --git a/alpha/alpha-server/src/main/resources/schema-postgresql.sql b/alpha/alpha-server/src/main/resources/schema-postgresql.sql
index 705d14b..786e922 100644
--- a/alpha/alpha-server/src/main/resources/schema-postgresql.sql
+++ b/alpha/alpha-server/src/main/resources/schema-postgresql.sql
@@ -77,6 +77,7 @@ CREATE TABLE IF NOT EXISTS tcc_global_tx_event (
   serviceName varchar(36) NOT NULL,
   instanceId varchar(36) NOT NULL,
   txType varchar(12),
+  status varchar(12),
   creationTime timestamp(6) NOT NULL DEFAULT CURRENT_DATE,
   lastModified timestamp(6) NOT NULL DEFAULT CURRENT_DATE
 );