chore(project): 添加项目配置文件和忽略规则
- 添加 Babel 配置文件支持 ES6+ 语法转换 - 添加 ESLint 忽略规则和配置文件 - 添加 Git 忽略规则文件 - 添加 Travis CI 配置文件 - 添加 1.4.2 版本变更日志文件 - 添加 Helm 图表辅助模板文件 - 添加 Helm 忽略规则文件
This commit is contained in:
16
script/client/at/db/postgresql.sql
Normal file
16
script/client/at/db/postgresql.sql
Normal file
@@ -0,0 +1,16 @@
|
||||
-- for AT mode you must to init this sql for you business database. the seata server not need it.
|
||||
CREATE TABLE IF NOT EXISTS public.undo_log
|
||||
(
|
||||
id SERIAL NOT NULL,
|
||||
branch_id BIGINT NOT NULL,
|
||||
xid VARCHAR(128) NOT NULL,
|
||||
context VARCHAR(128) NOT NULL,
|
||||
rollback_info BYTEA NOT NULL,
|
||||
log_status INT NOT NULL,
|
||||
log_created TIMESTAMP(0) NOT NULL,
|
||||
log_modified TIMESTAMP(0) NOT NULL,
|
||||
CONSTRAINT pk_undo_log PRIMARY KEY (id),
|
||||
CONSTRAINT ux_undo_log UNIQUE (xid, branch_id)
|
||||
);
|
||||
|
||||
CREATE SEQUENCE IF NOT EXISTS undo_log_id_seq INCREMENT BY 1 MINVALUE 1 ;
|
||||
Reference in New Issue
Block a user