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 2022/09/06 04:26:11 UTC
[servicecomb-pack] 03/03: SCB-2679 Add table master_lock to schema.sql for test
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
commit e802aaff92686ec0c9537689cff97e9499d17ee8
Author: Lei Zhang <zh...@apache.org>
AuthorDate: Sun Sep 4 18:36:18 2022 +0800
SCB-2679 Add table master_lock to schema.sql for test
---
alpha/alpha-server/src/test/resources/schema.sql | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/alpha/alpha-server/src/test/resources/schema.sql b/alpha/alpha-server/src/test/resources/schema.sql
index 292ade75..2b57211c 100644
--- a/alpha/alpha-server/src/test/resources/schema.sql
+++ b/alpha/alpha-server/src/test/resources/schema.sql
@@ -101,3 +101,9 @@ CREATE TABLE IF NOT EXISTS tcc_tx_event (
lastModified TIMESTAMP DEFAULT CURRENT_TIMESTAMP NOT NULL
);
+CREATE TABLE IF NOT EXISTS master_lock (
+ serviceName varchar(36) NOT NULL PRIMARY KEY,
+ expireTime TIMESTAMP NOT NULL,
+ lockedTime TIMESTAMP NOT NULL,
+ instanceId varchar(255) NOT NULL
+);
\ No newline at end of file