sql修改

This commit is contained in:
taozi
2021-04-18 20:09:01 +08:00
parent 96b8be0a82
commit 421fa95b44
2 changed files with 9 additions and 3 deletions

View File

@ -15,6 +15,12 @@ ALTER TABLE yx_user modify column add_ip varchar(100) NULL DEFAULT '' COMMENT '
ALTER TABLE yx_user modify column last_ip varchar(100) NULL DEFAULT '' COMMENT '最后一次登录ip';
ALTER TABLE yx_store_visit modify column id bigint(20) NOT NULL;
ALTER TABLE yx_store_visit modify column product_id bigint(20) NULL DEFAULT NULL COMMENT '产品ID';
ALTER TABLE yx_store_visit modify column uid bigint(20) NULL DEFAULT NULL COMMENT '用户ID';
INSERT INTO `menu` VALUES (264, b'0', '终端装修', NULL, 0, 0, 'theme', 'theme', b'0', b'0', '--', '2021-02-25 19:33:17', '', 1, '2021-02-25 19:33:32', 0);
INSERT INTO `menu` VALUES (265, b'1', '商城装修', NULL, 264, 999, 'theme', 'https://demo2.yixiang.co/container', b'0', b'0', '-', '2021-02-25 19:35:13', NULL, 1, NULL, 0);
INSERT INTO `roles_menus` VALUES (264, 1);

View File

@ -2612,12 +2612,12 @@ INSERT INTO `yx_store_seckill` VALUES (7, 8, 'https://image.dayouqiantu.cn/5ca08
-- ----------------------------
DROP TABLE IF EXISTS `yx_store_visit`;
CREATE TABLE `yx_store_visit` (
`id` int(10) NOT NULL AUTO_INCREMENT,
`product_id` int(11) NULL DEFAULT NULL COMMENT '产品ID',
`id` bigint(20) NOT NULL AUTO_INCREMENT,
`product_id` bigint(20) NULL DEFAULT NULL COMMENT '产品ID',
`product_type` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '产品类型',
`cate_id` int(11) NULL DEFAULT NULL COMMENT '产品分类ID',
`type` char(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '产品类型',
`uid` int(11) NULL DEFAULT NULL COMMENT '用户ID',
`uid` bigint(20) NULL DEFAULT NULL COMMENT '用户ID',
`count` int(11) NULL DEFAULT NULL COMMENT '访问次数',
`content` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '备注描述',
`add_time` int(11) NULL DEFAULT NULL COMMENT '添加时间',