-
Notifications
You must be signed in to change notification settings - Fork 12
/
Copy pathcdp_mysql.sql
617 lines (515 loc) · 36.5 KB
/
cdp_mysql.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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
# ************************************************************
# Sequel Pro SQL dump
# Version 5446
#
# https://www.sequelpro.com/
# https://github.com/sequelpro/sequelpro
#
# Host: 127.0.0.1 (MySQL 5.7.18)
# Database: cdp
# Generation Time: 2021-07-27 07:45:38 +0000
# ************************************************************
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
/*!40101 SET NAMES utf8 */;
SET NAMES utf8mb4;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
# Dump of table cdp_analysis
# ------------------------------------------------------------
DROP TABLE IF EXISTS `cdp_analysis`;
CREATE TABLE `cdp_analysis` (
`id` int(11) unsigned NOT NULL AUTO_INCREMENT,
`name` varchar(64) NOT NULL DEFAULT '' COMMENT '名称',
`title` varchar(128) NOT NULL DEFAULT '' COMMENT '显示名称',
`featureId` int(11) NOT NULL COMMENT '元id',
`dateRange` int(11) NOT NULL COMMENT '天/范围',
`dateConservation` tinyint(11) NOT NULL DEFAULT '0' COMMENT '默认0自然日',
`denominatorId` int(11) NOT NULL COMMENT '分母的统计表id',
`outType` enum('multipleOut','singleOut') NOT NULL DEFAULT 'singleOut' COMMENT '输出类型',
`xmlData` text NOT NULL COMMENT 'xml条件数据',
`created` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
`updated` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
PRIMARY KEY (`id`),
UNIQUE KEY `name` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='统计的持久化表';
LOCK TABLES `cdp_analysis` WRITE;
/*!40000 ALTER TABLE `cdp_analysis` DISABLE KEYS */;
INSERT INTO `cdp_analysis` (`id`, `name`, `title`, `featureId`, `dateRange`, `dateConservation`, `denominatorId`, `outType`, `xmlData`, `created`, `updated`)
VALUES
(21,'reg_day','注册用户日统计',1,7,0,0,'singleOut','PHJvb3Q+CgkJPGZyb20+dXNlcl9yZWdpc3RlcjwvZnJvbT4KCQk8c2luZ2xlT3V0PnBlb3BsZTwvc2luZ2xlT3V0PgoJPC9yb290PgoJ','2021-07-23 15:48:36','2021-07-23 15:54:32'),
(22,'reg_nan_day','注册用户性别女日统计',1,7,0,21,'singleOut','PHJvb3Q+CgkJPGZyb20+dXNlcl9yZWdpc3RlcjwvZnJvbT4KCQk8Y29uZGl0aW9uPgoJCQk8YW5kPgoJCQkJPHdoZXJlIGZyb209InVzZXJfcmVnaXN0ZXIiIGNvbHVtbiA9ICJnZW5kZXIiIGNvbXBhcmUgPSAiZXEiPuWlszwvd2hlcmU+CgkJCTwvYW5kPgoJCTwvY29uZGl0aW9uPgoJCTxzaW5nbGVPdXQ+cGVvcGxlPC9zaW5nbGVPdXQ+Cgk8L3Jvb3Q+Cgk=','2021-07-23 15:49:00','2021-07-23 15:54:34'),
(23,'reg_source_day','注册用户渠道区间统计',1,7,0,0,'multipleOut','PHJvb3Q+CgkJPGZyb20+dXNlcl9yZWdpc3RlcjwvZnJvbT4KCQk8bXVsdGlwbGVPdXQgZ3JvdXAgPSAic291cmNlSWQiPmNvdW50PC9tdWx0aXBsZU91dD4KCTwvcm9vdD4KCQ==','2021-07-23 15:49:23','2021-07-23 15:54:35'),
(24,'reg_min_day','注册用户分钟 区间统计',1,7,0,21,'multipleOut','PHJvb3Q+CgkJPGZyb20+dXNlcl9yZWdpc3RlcjwvZnJvbT4KCQk8bXVsdGlwbGVPdXQgZ3JvdXAgPSAibWludXRlIj5jb3VudDwvbXVsdGlwbGVPdXQ+Cgk8L3Jvb3Q+Cgk=','2021-07-23 15:49:40','2021-07-23 15:54:38');
/*!40000 ALTER TABLE `cdp_analysis` ENABLE KEYS */;
UNLOCK TABLES;
# Dump of table cdp_analysis_report
# ------------------------------------------------------------
DROP TABLE IF EXISTS `cdp_analysis_report`;
CREATE TABLE `cdp_analysis_report` (
`id` int(11) unsigned NOT NULL AUTO_INCREMENT,
`analysisId` mediumint(11) NOT NULL COMMENT 'id',
`data` json NOT NULL COMMENT '结果',
`beginTime` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
`endTime` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
`created` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
`updated` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
PRIMARY KEY (`id`),
UNIQUE KEY `analysisId` (`analysisId`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='统计的持久化表';
LOCK TABLES `cdp_analysis_report` WRITE;
/*!40000 ALTER TABLE `cdp_analysis_report` DISABLE KEYS */;
INSERT INTO `cdp_analysis_report` (`id`, `analysisId`, `data`, `beginTime`, `endTime`, `created`, `updated`)
VALUES
(13,21,'{\"people\": 11}','2021-07-16 00:00:00','2021-07-22 23:59:59','2021-07-23 15:48:36','2021-07-23 15:54:45'),
(14,22,'{\"people\": 1}','2021-07-16 00:00:00','2021-07-22 23:59:59','2021-07-23 15:49:00','2021-07-23 15:54:45'),
(15,23,'[{\"count\": 4, \"sourceId\": 0}, {\"count\": 7, \"sourceId\": 2}]','2021-07-16 00:00:00','2021-07-22 23:59:59','2021-07-23 15:49:23','2021-07-23 15:54:45'),
(16,24,'[{\"count\": 6, \"createTime\": \"2021-07-21 19:33:00\"}, {\"count\": 5, \"createTime\": \"2021-07-21 19:55:00\"}]','2021-07-16 00:00:00','2021-07-22 23:59:59','2021-07-23 15:49:40','2021-07-23 15:54:45');
/*!40000 ALTER TABLE `cdp_analysis_report` ENABLE KEYS */;
UNLOCK TABLES;
# Dump of table cdp_behaviour
# ------------------------------------------------------------
DROP TABLE IF EXISTS `cdp_behaviour`;
CREATE TABLE `cdp_behaviour` (
`id` bigint(11) unsigned NOT NULL AUTO_INCREMENT,
`wechatUnionId` varchar(29) NOT NULL DEFAULT '' COMMENT '微信唯一id',
`userKey` varchar(65) NOT NULL DEFAULT '' COMMENT '用户自定义key',
`userPhone` varchar(15) NOT NULL DEFAULT '' COMMENT '用户手机号',
`tempUserId` varchar(80) NOT NULL DEFAULT '' COMMENT '临时用户唯一id',
`userIpAddr` varchar(16) NOT NULL DEFAULT '' COMMENT '用户ip地址',
`featureId` smallint(128) NOT NULL COMMENT '行为的类型',
`createTime` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '行为的时间',
`data` json NOT NULL COMMENT '数据',
`processed` tinyint(4) NOT NULL DEFAULT '0' COMMENT '非0已处理',
`sourceId` smallint(6) NOT NULL COMMENT '来源',
`created` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
PRIMARY KEY (`id`,`featureId`),
KEY `processed` (`processed`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='行为记录表'
/*!50100 PARTITION BY KEY (featureId)
PARTITIONS 100 */;
# Dump of table cdp_behaviour_feature
# ------------------------------------------------------------
DROP TABLE IF EXISTS `cdp_behaviour_feature`;
CREATE TABLE `cdp_behaviour_feature` (
`id` smallint(5) unsigned NOT NULL AUTO_INCREMENT,
`title` varchar(32) NOT NULL DEFAULT '',
`warehouse` varchar(50) NOT NULL DEFAULT '' COMMENT 'clickhouse的表名',
`categoryType` tinyint(6) NOT NULL COMMENT '0自定义行为,1系统提供行为,2系统提供行为(不可追加)',
`category` varchar(64) NOT NULL DEFAULT '' COMMENT '行业',
`skipWarehouse` tinyint(4) NOT NULL DEFAULT '0' COMMENT '非0 该特性的行为无需代码同步到ck',
`created` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
`updated` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
PRIMARY KEY (`id`),
UNIQUE KEY `warehouse` (`warehouse`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='行为定义表';
LOCK TABLES `cdp_behaviour_feature` WRITE;
/*!40000 ALTER TABLE `cdp_behaviour_feature` DISABLE KEYS */;
INSERT INTO `cdp_behaviour_feature` (`id`, `title`, `warehouse`, `categoryType`, `category`, `skipWarehouse`, `created`, `updated`)
VALUES
(1,'用户注册','user_register',2,'通用',0,'2021-07-02 15:54:04','2021-07-02 15:54:46'),
(2,'全站流量','whole_flow',2,'通用',1,'2021-07-16 17:31:18','2021-07-16 18:39:03');
/*!40000 ALTER TABLE `cdp_behaviour_feature` ENABLE KEYS */;
UNLOCK TABLES;
# Dump of table cdp_behaviour_feature_metadata
# ------------------------------------------------------------
DROP TABLE IF EXISTS `cdp_behaviour_feature_metadata`;
CREATE TABLE `cdp_behaviour_feature_metadata` (
`id` int(11) unsigned NOT NULL AUTO_INCREMENT,
`featureId` int(11) NOT NULL COMMENT '行为的特性ID',
`variable` varchar(32) NOT NULL DEFAULT '' COMMENT '类型的名称',
`title` varchar(50) NOT NULL DEFAULT '' COMMENT '中文的标题',
`kind` enum('String','Float32','Float64','UInt8','UInt16','UInt32','UInt64','Int8','Int16','Int32','Int64','DateTime','Date','ArrayString','ArrayFloat32','ArrayFloat64','ArrayUInt8','ArrayUInt16','ArrayUInt32','ArrayUInt64','ArrayInt8','ArrayInt16','ArrayInt32','ArrayInt64','ArrayDateTime','ArrayDate') NOT NULL DEFAULT 'Int32' COMMENT '类型',
`dict` varchar(128) NOT NULL DEFAULT '' COMMENT '关联字典的key',
`orderByNumber` tinyint(4) NOT NULL COMMENT 'ck排序键,非0排序',
`created` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
`updated` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
PRIMARY KEY (`id`),
UNIQUE KEY `featureId` (`featureId`,`variable`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='行为元数据';
LOCK TABLES `cdp_behaviour_feature_metadata` WRITE;
/*!40000 ALTER TABLE `cdp_behaviour_feature_metadata` DISABLE KEYS */;
INSERT INTO `cdp_behaviour_feature_metadata` (`id`, `featureId`, `variable`, `title`, `kind`, `dict`, `orderByNumber`, `created`, `updated`)
VALUES
(6,1,'name','name','String','',0,'2021-06-30 17:34:59','2021-06-30 17:35:10'),
(7,1,'email','email','String','',0,'2021-06-30 17:34:59','2021-06-30 17:35:10'),
(8,1,'phone','phone','String','',0,'2021-06-30 17:34:59','2021-06-30 17:35:10'),
(9,1,'gender','gender','String','',0,'2021-06-30 17:34:59','2021-06-30 17:36:11'),
(11,1,'birthday','birthday','Date','',0,'2021-06-30 17:34:59','2021-07-01 18:48:48'),
(12,2,'featureId','行为来源','UInt16','',0,'2021-07-16 17:41:37','2021-07-16 18:52:56');
/*!40000 ALTER TABLE `cdp_behaviour_feature_metadata` ENABLE KEYS */;
UNLOCK TABLES;
# Dump of table cdp_customer
# ------------------------------------------------------------
DROP TABLE IF EXISTS `cdp_customer`;
CREATE TABLE `cdp_customer` (
`id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
`userId` varchar(40) NOT NULL DEFAULT '',
`name` varchar(32) NOT NULL DEFAULT '' COMMENT '名称',
`email` varchar(32) NOT NULL DEFAULT '' COMMENT '邮箱',
`phone` varchar(15) NOT NULL DEFAULT '' COMMENT '电话',
`gender` varchar(8) NOT NULL DEFAULT '' COMMENT '性别',
`birthday` date DEFAULT NULL COMMENT '生日',
`city` varchar(64) NOT NULL DEFAULT '' COMMENT '市',
`region` varchar(64) NOT NULL DEFAULT '' COMMENT '省',
`wechatUnionId` varchar(29) NOT NULL DEFAULT '' COMMENT '微信唯一id',
`userKey` varchar(65) NOT NULL DEFAULT '' COMMENT '自定义识别key',
`sourceId` smallint(6) NOT NULL DEFAULT '0' COMMENT '来源id',
`created` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
`updated` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
PRIMARY KEY (`id`),
UNIQUE KEY `userId` (`userId`),
KEY `name` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='客户表';
# Dump of table cdp_customer_extension
# ------------------------------------------------------------
DROP TABLE IF EXISTS `cdp_customer_extension`;
CREATE TABLE `cdp_customer_extension` (
`id` int(11) unsigned NOT NULL AUTO_INCREMENT,
`userId` varchar(40) NOT NULL DEFAULT '',
`data` json NOT NULL COMMENT '扩展数据',
`created` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
`updated` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
PRIMARY KEY (`id`),
UNIQUE KEY `user_id` (`userId`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='客户扩展数据';
# Dump of table cdp_customer_extension_metadata
# ------------------------------------------------------------
DROP TABLE IF EXISTS `cdp_customer_extension_metadata`;
CREATE TABLE `cdp_customer_extension_metadata` (
`id` int(11) unsigned NOT NULL AUTO_INCREMENT,
`variable` varchar(32) NOT NULL DEFAULT '' COMMENT '类型的名称',
`title` varchar(50) NOT NULL DEFAULT '' COMMENT '中文的标题',
`kind` enum('String','Float32','Float64','UInt8','UInt16','UInt32','UInt64','Int8','Int16','Int32','Int64','DateTime','Date') NOT NULL DEFAULT 'Int32' COMMENT '类型',
`dict` varchar(128) NOT NULL DEFAULT '' COMMENT '关联字典的key',
`reg` varchar(128) NOT NULL DEFAULT '' COMMENT '正则',
`required` tinyint(4) NOT NULL DEFAULT '0' COMMENT '1 必填',
`sort` int(11) NOT NULL DEFAULT '1000' COMMENT '排序',
`created` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
`updated` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
PRIMARY KEY (`id`),
UNIQUE KEY `variable` (`variable`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='客户元数据';
# Dump of table cdp_customer_key
# ------------------------------------------------------------
DROP TABLE IF EXISTS `cdp_customer_key`;
CREATE TABLE `cdp_customer_key` (
`id` int(11) unsigned NOT NULL AUTO_INCREMENT,
`userId` varchar(40) NOT NULL DEFAULT '0' COMMENT '用户userid',
`userKey` varchar(65) NOT NULL DEFAULT '' COMMENT '唯一Key',
`created` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
`updated` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
PRIMARY KEY (`id`),
UNIQUE KEY `userid` (`userId`),
UNIQUE KEY `key` (`userKey`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='自定义key用户客户表';
# Dump of table cdp_customer_phone
# ------------------------------------------------------------
DROP TABLE IF EXISTS `cdp_customer_phone`;
CREATE TABLE `cdp_customer_phone` (
`id` int(11) unsigned NOT NULL AUTO_INCREMENT,
`userId` varchar(40) NOT NULL DEFAULT '0' COMMENT '用户userid',
`phone` varchar(15) NOT NULL DEFAULT '' COMMENT '手机号',
`created` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
`updated` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
PRIMARY KEY (`id`),
UNIQUE KEY `phone` (`phone`),
UNIQUE KEY `userId` (`userId`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='电话客户表';
# Dump of table cdp_customer_profile
# ------------------------------------------------------------
DROP TABLE IF EXISTS `cdp_customer_profile`;
CREATE TABLE `cdp_customer_profile` (
`userId` varchar(40) NOT NULL DEFAULT '',
`personaId` int(11) NOT NULL COMMENT '画像id',
`beginTime` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
`endTime` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
`created` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
`updated` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
PRIMARY KEY (`userId`,`personaId`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='用户画像表'
/*!50100 PARTITION BY KEY (personaId)
PARTITIONS 256 */;
# Dump of table cdp_customer_temporary
# ------------------------------------------------------------
DROP TABLE IF EXISTS `cdp_customer_temporary`;
CREATE TABLE `cdp_customer_temporary` (
`id` int(11) unsigned NOT NULL AUTO_INCREMENT,
`uuid` varchar(80) NOT NULL DEFAULT '' COMMENT '临时用户的唯一id',
`userId` varchar(40) NOT NULL DEFAULT '',
`sourceId` smallint(20) NOT NULL COMMENT '来源id',
`created` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
`updated` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
PRIMARY KEY (`id`),
UNIQUE KEY `userId` (`userId`),
UNIQUE KEY `uuid` (`uuid`,`sourceId`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='临时用户表';
# Dump of table cdp_customer_wechat
# ------------------------------------------------------------
DROP TABLE IF EXISTS `cdp_customer_wechat`;
CREATE TABLE `cdp_customer_wechat` (
`id` int(11) unsigned NOT NULL AUTO_INCREMENT,
`userId` varchar(40) NOT NULL DEFAULT '0' COMMENT '用户userid',
`unionId` char(29) NOT NULL DEFAULT '' COMMENT '唯一id',
`created` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
`updated` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
PRIMARY KEY (`id`),
UNIQUE KEY `unionid` (`unionId`),
UNIQUE KEY `userid` (`userId`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='微信客户表';
# Dump of table cdp_ip_addr
# ------------------------------------------------------------
DROP TABLE IF EXISTS `cdp_ip_addr`;
CREATE TABLE `cdp_ip_addr` (
`id` int(11) unsigned NOT NULL AUTO_INCREMENT,
`addr` varchar(16) NOT NULL DEFAULT '' COMMENT 'ip地址',
`country` varchar(60) NOT NULL DEFAULT '' COMMENT '国家',
`region` varchar(60) NOT NULL DEFAULT '' COMMENT '省',
`city` varchar(60) NOT NULL DEFAULT '' COMMENT '市',
`created` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
`updated` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
PRIMARY KEY (`id`),
UNIQUE KEY `addr` (`addr`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
LOCK TABLES `cdp_ip_addr` WRITE;
/*!40000 ALTER TABLE `cdp_ip_addr` DISABLE KEYS */;
INSERT INTO `cdp_ip_addr` (`id`, `addr`, `country`, `region`, `city`, `created`, `updated`)
VALUES
(1251,'113.46.163.105','中国','北京市','北京','2021-06-24 15:27:35','2021-06-24 15:27:35'),
(1252,'119.7.146.59','中国','北京市','朝阳','2021-06-24 15:27:35','2021-06-24 15:27:35'),
(1253,'119.7.146.60','中国','北京市','朝阳','2021-06-24 15:27:35','2021-06-24 15:27:35'),
(1254,'111.117.222.104','中国','吉林','朝阳','2021-06-24 15:27:35','2021-06-24 15:27:35'),
(1255,'113.46.163.67','中国','北京市','北京','2021-06-24 15:27:35','2021-06-24 15:27:35'),
(1256,'119.7.146.44','中国','北京市','朝阳','2021-06-24 15:27:35','2021-06-24 15:27:35'),
(1257,'119.7.146.64','中国','北京市','朝阳','2021-06-24 15:27:35','2021-06-24 15:27:35'),
(1258,'111.117.222.153','中国','吉林','朝阳','2021-06-24 15:27:35','2021-06-24 15:27:35'),
(1259,'113.46.163.106','中国','北京市','北京','2021-06-24 15:27:35','2021-06-24 15:27:35'),
(1260,'111.117.222.121','中国','吉林','朝阳','2021-06-24 15:27:35','2021-06-24 15:27:35'),
(1261,'111.117.222.138','中国','吉林','朝阳','2021-06-24 15:27:35','2021-06-24 15:27:35'),
(1262,'119.7.146.43','中国','北京市','朝阳','2021-06-24 15:27:35','2021-06-24 15:27:35'),
(1263,'119.7.146.46','中国','北京市','朝阳','2021-06-24 15:27:35','2021-06-24 15:27:35'),
(1264,'111.117.222.109','中国','吉林','朝阳','2021-06-24 15:27:35','2021-06-24 15:27:35'),
(1265,'111.117.222.115','中国','吉林','朝阳','2021-06-24 15:27:35','2021-06-24 15:27:35'),
(1266,'119.7.146.48','中国','北京市','朝阳','2021-06-24 15:27:35','2021-06-24 15:27:35'),
(1267,'119.7.146.53','中国','北京市','朝阳','2021-06-24 15:27:35','2021-06-24 15:27:35'),
(1268,'119.7.146.66','中国','北京市','朝阳','2021-06-24 15:27:35','2021-06-24 15:27:35'),
(1269,'113.46.163.50','中国','北京市','北京','2021-06-24 15:27:35','2021-06-24 15:27:35'),
(1270,'119.7.146.35','中国','北京市','朝阳','2021-06-24 15:27:35','2021-06-24 15:27:35'),
(1271,'113.46.163.104','中国','北京市','北京','2021-06-24 15:27:35','2021-06-24 15:27:35'),
(1272,'111.117.222.100','中国','吉林','朝阳','2021-06-24 15:27:35','2021-06-24 15:27:35'),
(1273,'111.117.222.143','中国','吉林','朝阳','2021-06-24 15:27:35','2021-06-24 15:27:35'),
(1274,'111.117.222.136','中国','吉林','朝阳','2021-06-24 15:27:35','2021-06-24 15:27:35'),
(1275,'111.117.222.141','中国','吉林','朝阳','2021-06-24 15:27:35','2021-06-24 15:27:35'),
(1276,'111.117.222.148','中国','吉林','朝阳','2021-06-24 15:27:35','2021-06-24 15:27:35'),
(1277,'111.117.222.107','中国','吉林','朝阳','2021-06-24 15:27:35','2021-06-24 15:27:35'),
(1278,'111.117.222.133','中国','吉林','朝阳','2021-06-24 15:27:35','2021-06-24 15:27:35'),
(1279,'113.46.163.74','中国','北京市','北京','2021-06-24 15:27:35','2021-06-24 15:27:35'),
(1280,'113.46.163.90','中国','北京市','北京','2021-06-24 15:27:35','2021-06-24 15:27:35'),
(1281,'119.7.146.67','中国','北京市','朝阳','2021-06-24 15:27:35','2021-06-24 15:27:35'),
(1282,'119.7.146.81','中国','北京市','朝阳','2021-06-24 15:27:35','2021-06-24 15:27:35'),
(1283,'111.117.222.119','中国','吉林','朝阳','2021-06-24 15:27:35','2021-06-24 15:27:35'),
(1284,'113.46.163.73','中国','北京市','北京','2021-06-24 15:27:35','2021-06-24 15:27:35'),
(1285,'111.117.222.154','中国','吉林','朝阳','2021-06-24 15:27:35','2021-06-24 15:27:35'),
(1286,'113.46.163.102','中国','北京市','北京','2021-06-24 15:27:35','2021-06-24 15:27:35'),
(1287,'111.117.222.116','中国','吉林','朝阳','2021-06-24 15:27:35','2021-06-24 15:27:35'),
(1288,'111.117.222.137','中国','吉林','朝阳','2021-06-24 15:27:35','2021-06-24 15:27:35'),
(1289,'113.46.163.69','中国','北京市','北京','2021-06-24 15:27:35','2021-06-24 15:27:35'),
(1290,'119.7.146.49','中国','北京市','朝阳','2021-06-24 15:27:35','2021-06-24 15:27:35'),
(1291,'111.117.222.118','中国','吉林','朝阳','2021-06-24 15:27:35','2021-06-24 15:27:35'),
(1292,'111.117.222.139','中国','吉林','朝阳','2021-06-24 15:27:35','2021-06-24 15:27:35'),
(1293,'113.46.163.103','中国','北京市','北京','2021-06-24 15:27:35','2021-06-24 15:27:35'),
(1294,'111.117.222.106','中国','吉林','朝阳','2021-06-24 15:27:35','2021-06-24 15:27:35'),
(1295,'111.117.222.156','中国','吉林','朝阳','2021-06-24 15:27:35','2021-06-24 15:27:35'),
(1296,'119.7.146.36','中国','北京市','朝阳','2021-06-24 15:27:35','2021-06-24 15:27:35'),
(1297,'119.7.146.54','中国','北京市','朝阳','2021-06-24 15:27:35','2021-06-24 15:27:35'),
(1298,'119.7.146.69','中国','北京市','朝阳','2021-06-24 15:27:35','2021-06-24 15:27:35'),
(1299,'119.7.146.79','中国','北京市','朝阳','2021-06-24 15:27:35','2021-06-24 15:27:35'),
(1300,'119.7.146.86','中国','北京市','朝阳','2021-06-24 15:27:35','2021-06-24 15:27:35'),
(1301,'111.117.222.124','中国','吉林','朝阳','2021-06-24 15:27:35','2021-06-24 15:27:35'),
(1302,'113.46.163.79','中国','北京市','北京','2021-06-24 15:27:35','2021-06-24 15:27:35'),
(1303,'111.117.222.150','中国','吉林','朝阳','2021-06-24 15:27:35','2021-06-24 15:27:35'),
(1304,'111.117.222.155','中国','吉林','朝阳','2021-06-24 15:27:35','2021-06-24 15:27:35'),
(1305,'113.46.163.87','中国','北京市','北京','2021-06-24 15:27:35','2021-06-24 15:27:35'),
(1306,'113.46.163.101','中国','北京市','北京','2021-06-24 15:27:35','2021-06-24 15:27:35'),
(1307,'119.7.146.41','中国','北京市','朝阳','2021-06-24 15:27:35','2021-06-24 15:27:35'),
(1308,'119.7.146.61','中国','北京市','朝阳','2021-06-24 15:27:35','2021-06-24 15:27:35'),
(1309,'111.117.222.125','中国','吉林','朝阳','2021-06-24 15:27:35','2021-06-24 15:27:35'),
(1310,'111.117.222.127','中国','吉林','朝阳','2021-06-24 15:27:35','2021-06-24 15:27:35'),
(1311,'111.117.222.146','中国','吉林','朝阳','2021-06-24 15:27:35','2021-06-24 15:27:35'),
(1312,'119.7.146.77','中国','北京市','朝阳','2021-06-24 15:27:35','2021-06-24 15:27:35'),
(1313,'113.46.163.55','中国','北京市','北京','2021-06-24 15:27:35','2021-06-24 15:27:35'),
(1314,'119.7.146.45','中国','北京市','朝阳','2021-06-24 15:27:35','2021-06-24 15:27:35'),
(1315,'119.7.146.72','中国','北京市','朝阳','2021-06-24 15:27:35','2021-06-24 15:27:35'),
(1316,'111.117.222.122','中国','吉林','朝阳','2021-06-24 15:27:35','2021-06-24 15:27:35'),
(1317,'111.117.222.135','中国','吉林','朝阳','2021-06-24 15:27:35','2021-06-24 15:27:35'),
(1318,'111.117.222.128','中国','吉林','朝阳','2021-06-24 15:27:35','2021-06-24 15:27:35'),
(1319,'113.46.163.54','中国','北京市','北京','2021-06-24 15:27:35','2021-06-24 15:27:35'),
(1320,'119.7.146.68','中国','北京市','朝阳','2021-06-24 15:27:35','2021-06-24 15:27:35'),
(1321,'119.7.146.75','中国','北京市','朝阳','2021-06-24 15:27:35','2021-06-24 15:27:35'),
(1322,'111.117.222.102','中国','吉林','朝阳','2021-06-24 15:27:35','2021-06-24 15:27:35'),
(1323,'111.117.222.120','中国','吉林','朝阳','2021-06-24 15:27:35','2021-06-24 15:27:35'),
(1324,'111.117.222.142','中国','吉林','朝阳','2021-06-24 15:27:35','2021-06-24 15:27:35'),
(1325,'113.46.163.68','中国','北京市','北京','2021-06-24 15:27:35','2021-06-24 15:27:35'),
(1326,'113.46.163.85','中国','北京市','北京','2021-06-24 15:27:35','2021-06-24 15:27:35'),
(1327,'113.46.163.93','中国','北京市','北京','2021-06-24 15:27:35','2021-06-24 15:27:35'),
(1328,'119.7.146.42','中国','北京市','朝阳','2021-06-24 15:27:35','2021-06-24 15:27:35'),
(1329,'119.7.146.84','中国','北京市','朝阳','2021-06-24 15:27:35','2021-06-24 15:27:35'),
(1330,'111.117.222.112','中国','吉林','朝阳','2021-06-24 15:27:35','2021-06-24 15:27:35'),
(1331,'111.117.222.123','中国','吉林','朝阳','2021-06-24 15:27:35','2021-06-24 15:27:35'),
(1332,'113.46.163.61','中国','北京市','北京','2021-06-24 15:27:35','2021-06-24 15:27:35'),
(1333,'113.46.163.62','中国','北京市','北京','2021-06-24 15:27:35','2021-06-24 15:27:35'),
(1334,'113.46.163.82','中国','北京市','北京','2021-06-24 15:27:35','2021-06-24 15:27:35'),
(1335,'113.46.163.108','中国','北京市','北京','2021-06-24 15:27:35','2021-06-24 15:27:35'),
(1336,'119.7.146.74','中国','北京市','朝阳','2021-06-24 15:27:35','2021-06-24 15:27:35'),
(1337,'111.117.222.113','中国','吉林','朝阳','2021-06-24 15:27:35','2021-06-24 15:27:35'),
(1338,'111.117.222.158','中国','吉林','朝阳','2021-06-24 15:27:35','2021-06-24 15:27:35'),
(1339,'111.117.222.126','中国','吉林','朝阳','2021-06-24 15:27:35','2021-06-24 15:27:35'),
(1340,'113.46.163.66','中国','北京市','北京','2021-06-24 15:27:35','2021-06-24 15:27:35'),
(1341,'113.46.163.100','中国','北京市','北京','2021-06-24 15:27:35','2021-06-24 15:27:35'),
(1342,'119.7.146.37','中国','北京市','朝阳','2021-06-24 15:27:35','2021-06-24 15:27:35'),
(1343,'119.7.146.51','中国','北京市','朝阳','2021-06-24 15:27:35','2021-06-24 15:27:35'),
(1344,'119.7.146.82','中国','北京市','朝阳','2021-06-24 15:27:35','2021-06-24 15:27:35'),
(1345,'111.117.222.101','中国','吉林','朝阳','2021-06-24 15:27:35','2021-06-24 15:27:35'),
(1346,'111.117.222.117','中国','吉林','朝阳','2021-06-24 15:27:35','2021-06-24 15:27:35'),
(1347,'119.7.146.63','中国','北京市','朝阳','2021-06-24 15:27:35','2021-06-24 15:27:35'),
(1348,'111.117.222.108','中国','吉林','朝阳','2021-06-24 15:27:35','2021-06-24 15:27:35'),
(1349,'111.117.222.110','中国','吉林','朝阳','2021-06-24 15:27:35','2021-06-24 15:27:35'),
(1350,'113.46.163.78','中国','北京市','北京','2021-06-24 15:27:35','2021-06-24 15:27:35'),
(1351,'119.7.146.47','中国','北京市','朝阳','2021-06-24 15:27:35','2021-06-24 15:27:35'),
(1352,'119.7.146.83','中国','北京市','朝阳','2021-06-24 15:27:35','2021-06-24 15:27:35'),
(1353,'111.117.222.114','中国','吉林','朝阳','2021-06-24 15:27:35','2021-06-24 15:27:35'),
(1354,'111.117.222.147','中国','吉林','朝阳','2021-06-24 15:27:35','2021-06-24 15:27:35'),
(1355,'113.46.163.75','中国','北京市','北京','2021-06-24 15:27:35','2021-06-24 15:27:35'),
(1356,'113.46.163.89','中国','北京市','北京','2021-06-24 15:27:35','2021-06-24 15:27:35'),
(1357,'119.7.146.38','中国','北京市','朝阳','2021-06-24 15:27:35','2021-06-24 15:27:35'),
(1358,'119.7.146.71','中国','北京市','朝阳','2021-06-24 15:27:35','2021-06-24 15:27:35'),
(1359,'119.7.146.91','中国','北京市','朝阳','2021-06-24 15:27:35','2021-06-24 15:27:35'),
(1360,'111.117.222.157','中国','吉林','朝阳','2021-06-24 15:27:35','2021-06-24 15:27:35'),
(1361,'113.46.163.52','中国','北京市','北京','2021-06-24 15:27:35','2021-06-24 15:27:35'),
(1362,'113.46.163.53','中国','北京市','北京','2021-06-24 15:27:35','2021-06-24 15:27:35'),
(1363,'113.46.163.76','中国','北京市','北京','2021-06-24 15:27:35','2021-06-24 15:27:35'),
(1364,'113.46.163.91','中国','北京市','北京','2021-06-24 15:27:35','2021-06-24 15:27:35'),
(1365,'113.46.163.94','中国','北京市','北京','2021-06-24 15:27:35','2021-06-24 15:27:35'),
(1366,'113.46.163.97','中国','北京市','北京','2021-06-24 15:27:35','2021-06-24 15:27:35'),
(1367,'113.46.163.98','中国','北京市','北京','2021-06-24 15:27:35','2021-06-24 15:27:35'),
(1368,'111.117.222.111','中国','吉林','朝阳','2021-06-24 15:27:35','2021-06-24 15:27:35'),
(1369,'111.117.222.131','中国','吉林','朝阳','2021-06-24 15:27:35','2021-06-24 15:27:35'),
(1370,'119.7.146.70','中国','北京市','朝阳','2021-06-24 15:27:35','2021-06-24 15:27:35'),
(1371,'113.46.163.99','中国','北京市','北京','2021-06-24 15:27:35','2021-06-24 15:27:35'),
(1372,'119.7.146.58','中国','北京市','朝阳','2021-06-24 15:27:35','2021-06-24 15:27:35'),
(1373,'113.46.163.81','中国','北京市','北京','2021-06-24 15:27:35','2021-06-24 15:27:35'),
(1374,'113.46.163.88','中国','北京市','北京','2021-06-24 15:27:35','2021-06-24 15:27:35'),
(1375,'113.46.163.96','中国','北京市','北京','2021-06-24 15:27:35','2021-06-24 15:27:35'),
(1376,'119.7.146.39','中国','北京市','朝阳','2021-06-24 15:27:35','2021-06-24 15:27:35'),
(1377,'119.7.146.73','中国','北京市','朝阳','2021-06-24 15:27:35','2021-06-24 15:27:35'),
(1378,'111.117.222.130','中国','吉林','朝阳','2021-06-24 15:27:35','2021-06-24 15:27:35'),
(1379,'111.117.222.132','中国','吉林','朝阳','2021-06-24 15:27:35','2021-06-24 15:27:35'),
(1380,'113.46.163.86','中国','北京市','北京','2021-06-24 15:27:35','2021-06-24 15:27:35'),
(1381,'113.46.163.95','中国','北京市','北京','2021-06-24 15:27:35','2021-06-24 15:27:35'),
(1382,'113.46.163.56','中国','北京市','北京','2021-06-24 15:27:35','2021-06-24 15:27:35'),
(1383,'113.46.163.84','中国','北京市','北京','2021-06-24 15:27:35','2021-06-24 15:27:35'),
(1384,'119.7.146.62','中国','北京市','朝阳','2021-06-24 15:27:35','2021-06-24 15:27:35'),
(1385,'119.7.146.65','中国','北京市','朝阳','2021-06-24 15:27:35','2021-06-24 15:27:35'),
(1386,'119.7.146.92','中国','北京市','朝阳','2021-06-24 15:27:35','2021-06-24 15:27:35'),
(1387,'111.117.222.129','中国','吉林','朝阳','2021-06-24 15:27:35','2021-06-24 15:27:35'),
(1388,'113.46.163.63','中国','北京市','北京','2021-06-24 15:27:35','2021-06-24 15:27:35'),
(1389,'113.46.163.64','中国','北京市','北京','2021-06-24 15:27:35','2021-06-24 15:27:35'),
(1390,'113.46.163.71','中国','北京市','北京','2021-06-24 15:27:35','2021-06-24 15:27:35'),
(1391,'119.7.146.55','中国','北京市','朝阳','2021-06-24 15:27:35','2021-06-24 15:27:35'),
(1392,'119.7.146.88','中国','北京市','朝阳','2021-06-24 15:27:35','2021-06-24 15:27:35'),
(1393,'119.7.146.89','中国','北京市','朝阳','2021-06-24 15:27:35','2021-06-24 15:27:35'),
(1394,'119.7.146.93','中国','北京市','朝阳','2021-06-24 15:27:35','2021-06-24 15:27:35'),
(1395,'111.117.222.144','中国','吉林','朝阳','2021-06-24 15:27:35','2021-06-24 15:27:35'),
(1396,'111.117.222.152','中国','吉林','朝阳','2021-06-24 15:27:35','2021-06-24 15:27:35'),
(1397,'113.46.163.109','中国','北京市','北京','2021-06-24 15:27:35','2021-06-24 15:27:35'),
(1398,'119.7.146.40','中国','北京市','朝阳','2021-06-24 15:27:35','2021-06-24 15:27:35'),
(1399,'113.46.163.72','中国','北京市','北京','2021-06-24 15:27:35','2021-06-24 15:27:35'),
(1400,'113.46.163.107','中国','北京市','北京','2021-06-24 15:27:35','2021-06-24 15:27:35'),
(1401,'111.117.222.140','中国','吉林','朝阳','2021-06-24 15:27:35','2021-06-24 15:27:35'),
(1402,'111.117.222.149','中国','吉林','朝阳','2021-06-24 15:27:35','2021-06-24 15:27:35'),
(1403,'111.117.222.151','中国','吉林','朝阳','2021-06-24 15:27:35','2021-06-24 15:27:35'),
(1404,'119.7.146.50','中国','北京市','朝阳','2021-06-24 15:27:35','2021-06-24 15:27:35'),
(1405,'119.7.146.90','中国','北京市','朝阳','2021-06-24 15:27:35','2021-06-24 15:27:35'),
(1406,'111.117.222.105','中国','吉林','朝阳','2021-06-24 15:27:35','2021-06-24 15:27:35'),
(1407,'111.117.222.134','中国','吉林','朝阳','2021-06-24 15:27:35','2021-06-24 15:27:35'),
(1408,'113.46.163.92','中国','北京市','北京','2021-06-24 15:27:35','2021-06-24 15:27:35'),
(1409,'119.7.146.56','中国','北京市','朝阳','2021-06-24 15:27:35','2021-06-24 15:27:35'),
(1410,'119.7.146.80','中国','北京市','朝阳','2021-06-24 15:27:35','2021-06-24 15:27:35'),
(1411,'119.7.146.85','中国','北京市','朝阳','2021-06-24 15:27:35','2021-06-24 15:27:35'),
(1412,'113.46.163.51','中国','北京市','北京','2021-06-24 15:27:35','2021-06-24 15:27:35'),
(1413,'113.46.163.77','中国','北京市','北京','2021-06-24 15:27:35','2021-06-24 15:27:35'),
(1414,'113.46.163.80','中国','北京市','北京','2021-06-24 15:27:35','2021-06-24 15:27:35'),
(1415,'119.7.146.78','中国','北京市','朝阳','2021-06-24 15:27:35','2021-06-24 15:27:35'),
(1416,'113.46.163.60','中国','北京市','北京','2021-06-24 15:27:35','2021-06-24 15:27:35'),
(1417,'113.46.163.65','中国','北京市','北京','2021-06-24 15:27:35','2021-06-24 15:27:35'),
(1418,'113.46.163.59','中国','北京市','北京','2021-06-24 15:27:35','2021-06-24 15:27:35'),
(1419,'113.46.163.70','中国','北京市','北京','2021-06-24 15:27:35','2021-06-24 15:27:35'),
(1420,'113.46.163.83','中国','北京市','北京','2021-06-24 15:27:35','2021-06-24 15:27:35'),
(1421,'119.7.146.76','中国','北京市','朝阳','2021-06-24 15:27:35','2021-06-24 15:27:35'),
(1422,'111.117.222.103','中国','吉林','朝阳','2021-06-24 15:27:35','2021-06-24 15:27:35'),
(1423,'113.46.163.57','中国','北京市','北京','2021-06-24 15:27:35','2021-06-24 15:27:35'),
(1424,'113.46.163.58','中国','北京市','北京','2021-06-24 15:27:35','2021-06-24 15:27:35'),
(1425,'119.7.146.52','中国','北京市','朝阳','2021-06-24 15:27:35','2021-06-24 15:27:35'),
(1426,'119.7.146.57','中国','北京市','朝阳','2021-06-24 15:27:35','2021-06-24 15:27:35'),
(1427,'119.7.146.87','中国','北京市','朝阳','2021-06-24 15:27:35','2021-06-24 15:27:35'),
(1428,'111.117.222.145','中国','吉林','朝阳','2021-06-24 15:27:35','2021-06-24 15:27:35'),
(1429,'111.117.222.159','中国','吉林','朝阳','2021-06-24 15:27:35','2021-06-24 15:27:35'),
(1430,'119.7.146.94','中国','北京市','朝阳','2021-06-24 15:27:35','2021-06-24 15:27:35'),
(1431,'223.20.180.200','中国','北京市','北京','2021-06-25 18:33:00','2021-06-25 18:33:00'),
(1432,'125.38.82.23','中国','天津市','天津','2021-06-25 18:35:10','2021-06-25 18:35:10'),
(1433,'1.192.119.149','中国','河南','郑州市','2021-06-25 18:35:10','2021-06-25 18:35:10');
/*!40000 ALTER TABLE `cdp_ip_addr` ENABLE KEYS */;
UNLOCK TABLES;
# Dump of table cdp_persona
# ------------------------------------------------------------
DROP TABLE IF EXISTS `cdp_persona`;
CREATE TABLE `cdp_persona` (
`id` int(11) unsigned NOT NULL AUTO_INCREMENT,
`name` varchar(64) NOT NULL DEFAULT '' COMMENT '名称',
`title` varchar(128) NOT NULL DEFAULT '' COMMENT '显示名称',
`dateRange` int(11) NOT NULL COMMENT '天/范围',
`xmlData` text NOT NULL COMMENT 'xml条件数据',
`created` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
`updated` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
`deleted` int(11) NOT NULL,
PRIMARY KEY (`id`),
UNIQUE KEY `name` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='画像描述的持久化表';
# Dump of table cdp_source
# ------------------------------------------------------------
DROP TABLE IF EXISTS `cdp_source`;
CREATE TABLE `cdp_source` (
`id` smallint(6) unsigned NOT NULL AUTO_INCREMENT,
`source` varchar(50) NOT NULL DEFAULT '',
`created` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
`updated` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
PRIMARY KEY (`id`),
UNIQUE KEY `source` (`source`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='来源管理';
LOCK TABLES `cdp_source` WRITE;
/*!40000 ALTER TABLE `cdp_source` DISABLE KEYS */;
INSERT INTO `cdp_source` (`id`, `source`, `created`, `updated`)
VALUES
(2,'ali','2021-06-25 16:11:51','2021-06-25 16:11:51');
/*!40000 ALTER TABLE `cdp_source` ENABLE KEYS */;
UNLOCK TABLES;
# Dump of table cdp_system_config
# ------------------------------------------------------------
DROP TABLE IF EXISTS `cdp_system_config`;
CREATE TABLE `cdp_system_config` (
`id` int(11) unsigned NOT NULL AUTO_INCREMENT,
`name` varchar(32) NOT NULL DEFAULT '' COMMENT '配置名称',
`value` text CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NOT NULL COMMENT '配置数据',
`created` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
`updated` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
PRIMARY KEY (`id`),
UNIQUE KEY `name` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='配置表';
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;
/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;