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/01/20 12:00:22 UTC

[incubator-servicecomb-saga] 10/12: SCB-218 removed missing column

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/incubator-servicecomb-saga.git

commit 28d8afad42131e07c1db1997ceae0e425c453206
Author: seanyinx <se...@huawei.com>
AuthorDate: Fri Jan 19 18:43:03 2018 +0800

    SCB-218 removed missing column
    
    Signed-off-by: seanyinx <se...@huawei.com>
---
 alpha/alpha-server/src/main/resources/schema-postgresql.sql | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/alpha/alpha-server/src/main/resources/schema-postgresql.sql b/alpha/alpha-server/src/main/resources/schema-postgresql.sql
index d1c36c2..d6b5172 100644
--- a/alpha/alpha-server/src/main/resources/schema-postgresql.sql
+++ b/alpha/alpha-server/src/main/resources/schema-postgresql.sql
@@ -26,7 +26,7 @@ CREATE TABLE IF NOT EXISTS Command (
   payloads bytea,
   status varchar(12),
   lastModified timestamp(6) NOT NULL DEFAULT CURRENT_DATE,
-  version bigint NOT NULL,
+  version bigint NOT NULL
 );
 
-CREATE INDEX IF NOT EXISTS saga_commands_index ON Command (surrogateId, eventId, globalTxId, localTxId, type, status);
+CREATE INDEX IF NOT EXISTS saga_commands_index ON Command (surrogateId, eventId, globalTxId, localTxId, status);

-- 
To stop receiving notification emails like this one, please contact
"commits@servicecomb.apache.org" <co...@servicecomb.apache.org>.