|
|
@@ -44,7 +44,7 @@ CREATE TABLE `wx_buser` ( |
|
|
`is_subscribe` tinyint(2) DEFAULT '0' COMMENT '是否关联公众号(0:否,1:关联)', |
|
|
`is_subscribe` tinyint(2) DEFAULT '0' COMMENT '是否关联公众号(0:否,1:关联)', |
|
|
`credit` int(11) DEFAULT '0' COMMENT '积分', |
|
|
`credit` int(11) DEFAULT '0' COMMENT '积分', |
|
|
`active_time` datetime DEFAULT NULL COMMENT '最后一次活跃时间', |
|
|
`active_time` datetime DEFAULT NULL COMMENT '最后一次活跃时间', |
|
|
`user_id` datetime DEFAULT 0 NOT NULL COMMENT '登录用户ID', |
|
|
|
|
|
|
|
|
`user_id` bigint(20) DEFAULT 0 NOT NULL COMMENT '登录用户ID', |
|
|
PRIMARY KEY (`id`), |
|
|
PRIMARY KEY (`id`), |
|
|
UNIQUE KEY `id_UNIQUE` (`id`), |
|
|
UNIQUE KEY `id_UNIQUE` (`id`), |
|
|
KEY `open_id_index` (`tenant_id`,`open_id`), |
|
|
KEY `open_id_index` (`tenant_id`,`open_id`), |
|
|
|