-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathnetease.sql
50 lines (43 loc) · 1.66 KB
/
netease.sql
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
/*
Navicat Premium Data Transfer
Source Server : Localhost
Source Server Type : MySQL
Source Server Version : 50724
Source Host : localhost:3306
Source Schema : netease
Target Server Type : MySQL
Target Server Version : 50724
File Encoding : 65001
Date: 22/10/2019 19:45:42
*/
SET NAMES utf8mb4;
SET FOREIGN_KEY_CHECKS = 0;
-- ----------------------------
-- Table structure for raw_event
-- ----------------------------
DROP TABLE IF EXISTS `raw_event`;
CREATE TABLE `raw_event` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`uid` int(11) NULL DEFAULT NULL,
`event_msg` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL,
`event_id` bigint(20) NULL DEFAULT NULL,
`lottery_id` int(11) NULL DEFAULT NULL,
`lottery_time` bigint(20) NULL DEFAULT NULL,
`crt_time` bigint(20) NULL DEFAULT NULL,
`is_reposted` int(255) NULL DEFAULT NULL,
`is_deleted` int(255) NULL DEFAULT NULL,
PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci ROW_FORMAT = Dynamic;
-- ----------------------------
-- Table structure for used_event
-- ----------------------------
DROP TABLE IF EXISTS `used_event`;
CREATE TABLE `used_event` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`username` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL,
`pre_event_id` bigint(20) NULL DEFAULT NULL,
`raw_event_id` int(11) NULL DEFAULT NULL,
`crt_time` bigint(20) NULL DEFAULT NULL,
PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci ROW_FORMAT = Dynamic;
SET FOREIGN_KEY_CHECKS = 1;