text: #创建 seata_pay 数据库
  CREATE DATABASE if not exists `seata_pay`;
  #创建用户钱包表
  SET NAMES utf8mb4;
  SET FOREIGN_KEY_CHECKS = 0;
  -- ----------------------------
  -- Table structure for account
  -- ----------------------------
  DROP TABLE IF EXISTS `account`;
  CREATE TABLE `account`
  (
      `id`      int(11)                                                 NOT NULL AUTO_INCREMENT,
      `user_id` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
      `amount`  double(14, 2)                                           NULL DEFAULT 0.00,
      PRIMARY KEY (`id`) USING BTREE
  ) ENGINE = InnoDB
    AUTO_INCREMENT = 3
    CHARACTER SET = utf8
    COLLATE = utf8_general_ci
    ROW_FORMAT = Dynamic;
  -- ----------------------------
  -- Records of account
  -- ----------------------------
  #初始化数据
  INSERT INTO `account`
  VALUES (1, '1', 4000.00);
  INSERT INTO `account`
  VALUES (2, '1001', 50000.00);
  SET FOREIGN_KEY_CHECKS = 1;
  
  -- 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
    AUTO_INCREMENT = 1
    DEFAULT CHARSET = utf8 COMMENT ='AT transaction mode undo table';