mirror of
https://gitee.com/dromara/RuoYi-Cloud-Plus.git
synced 2025-09-10 14:19:08 +00:00
fix 修复 workflow 的创建sql 没有包含undo_log表
This commit is contained in:
@@ -201,3 +201,17 @@ create table test_leave
|
||||
update_time datetime null comment '更新时间',
|
||||
PRIMARY KEY (id) USING BTREE
|
||||
) ENGINE = InnoDB COMMENT = '请假申请表';
|
||||
|
||||
|
||||
-- for AT mode you must to init this sql for you business database. the seata server not need it.
|
||||
CREATE TABLE IF NOT EXISTS undo_log
|
||||
(
|
||||
branch_id BIGINT(20) NOT NULL COMMENT 'branch transaction id',
|
||||
xid VARCHAR(100) NOT NULL COMMENT 'global transaction id',
|
||||
context VARCHAR(128) NOT NULL COMMENT 'undo_log context,such as serialization',
|
||||
rollback_info LONGBLOB NOT NULL COMMENT 'rollback info',
|
||||
log_status INT(11) NOT NULL COMMENT '0:normal status,1:defense status',
|
||||
log_created DATETIME(6) NOT NULL COMMENT 'create datetime',
|
||||
log_modified DATETIME(6) NOT NULL COMMENT 'modify datetime',
|
||||
UNIQUE KEY ux_undo_log (xid, branch_id)
|
||||
) ENGINE = InnoDB COMMENT ='AT transaction mode undo table';
|
||||
|
Reference in New Issue
Block a user