/*
 Navicat Premium Data Transfer

 Source Server         : 阿里云-育佑
 Source Server Type    : MySQL
 Source Server Version : 50731
 Source Host           : 47.99.218.9:3306
 Source Schema         : push

 Target Server Type    : MySQL
 Target Server Version : 50731
 File Encoding         : 65001

 Date: 22/10/2020 20:35:31
*/

SET NAMES utf8mb4;
SET FOREIGN_KEY_CHECKS = 0;

-- ----------------------------
-- Table structure for xxx_message
-- ----------------------------
DROP TABLE IF EXISTS `xxx_message`;
CREATE TABLE `xxx_message`  (
  `id` bigint(20) NOT NULL AUTO_INCREMENT,
  `gmt_create` datetime(0) NULL DEFAULT NULL,
  `gmt_modified` datetime(0) NULL DEFAULT NULL,
  `rec_id` bigint(20) NULL DEFAULT NULL COMMENT '记录id',
  `pnum` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT 'pnum',
  `act_name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '业务名',
  `start_time` datetime(0) NULL DEFAULT NULL COMMENT '业务开始时间',
  `client_type` tinyint(1) NULL DEFAULT NULL COMMENT '业务类别(1:A,2:B,3:C,4:D,5:E,6:F)',
  `app_id` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '上游推送用户id',
  `push_time` datetime(0) NULL DEFAULT NULL COMMENT '上游推送时间',
  `send_status` tinyint(1) NULL DEFAULT 0 COMMENT '下游推送状态',
  PRIMARY KEY (`id`) USING BTREE,
  INDEX `ind_rec_id`(`rec_id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci ROW_FORMAT = Dynamic;

SET FOREIGN_KEY_CHECKS = 1;
