mirror of
https://gitee.com/zoujingli/ThinkAdmin.git
synced 2025-04-06 03:58:04 +08:00
Update SQL01-数据表结构.sql
This commit is contained in:
parent
f3bfa2283b
commit
2ffe53fa6f
@ -11,7 +11,7 @@
|
|||||||
Target Server Version : 80018
|
Target Server Version : 80018
|
||||||
File Encoding : 65001
|
File Encoding : 65001
|
||||||
|
|
||||||
Date: 10/04/2021 17:27:30
|
Date: 10/05/2021 12:18:58
|
||||||
*/
|
*/
|
||||||
|
|
||||||
SET NAMES utf8mb4;
|
SET NAMES utf8mb4;
|
||||||
@ -38,7 +38,7 @@ CREATE TABLE `base_postage_company` (
|
|||||||
INDEX `idx_base_postage_company_code3`(`code_3`) USING BTREE,
|
INDEX `idx_base_postage_company_code3`(`code_3`) USING BTREE,
|
||||||
INDEX `idx_base_postage_company_status`(`status`) USING BTREE,
|
INDEX `idx_base_postage_company_status`(`status`) USING BTREE,
|
||||||
INDEX `idx_base_postage_company_deleted`(`deleted`) USING BTREE
|
INDEX `idx_base_postage_company_deleted`(`deleted`) USING BTREE
|
||||||
) ENGINE = InnoDB AUTO_INCREMENT = 16 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci COMMENT = '数据-快递-公司' ROW_FORMAT = COMPACT;
|
) ENGINE = InnoDB AUTO_INCREMENT = 31 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci COMMENT = '数据-快递-公司' ROW_FORMAT = COMPACT;
|
||||||
|
|
||||||
-- ----------------------------
|
-- ----------------------------
|
||||||
-- Table structure for base_postage_region
|
-- Table structure for base_postage_region
|
||||||
@ -140,7 +140,7 @@ CREATE TABLE `base_user_payment` (
|
|||||||
INDEX `idx_base_user_payment_code`(`code`) USING BTREE,
|
INDEX `idx_base_user_payment_code`(`code`) USING BTREE,
|
||||||
INDEX `idx_base_user_payment_status`(`status`) USING BTREE,
|
INDEX `idx_base_user_payment_status`(`status`) USING BTREE,
|
||||||
INDEX `idx_base_user_payment_deleted`(`deleted`) USING BTREE
|
INDEX `idx_base_user_payment_deleted`(`deleted`) USING BTREE
|
||||||
) ENGINE = InnoDB AUTO_INCREMENT = 6 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci COMMENT = '数据-基础-支付' ROW_FORMAT = COMPACT;
|
) ENGINE = InnoDB AUTO_INCREMENT = 7 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci COMMENT = '数据-基础-支付' ROW_FORMAT = COMPACT;
|
||||||
|
|
||||||
-- ----------------------------
|
-- ----------------------------
|
||||||
-- Table structure for base_user_upgrade
|
-- Table structure for base_user_upgrade
|
||||||
@ -195,7 +195,7 @@ CREATE TABLE `data_news_item` (
|
|||||||
INDEX `idx_data_news_item_code`(`code`) USING BTREE,
|
INDEX `idx_data_news_item_code`(`code`) USING BTREE,
|
||||||
INDEX `idx_data_news_item_status`(`status`) USING BTREE,
|
INDEX `idx_data_news_item_status`(`status`) USING BTREE,
|
||||||
INDEX `idx_data_news_item_deleted`(`deleted`) USING BTREE
|
INDEX `idx_data_news_item_deleted`(`deleted`) USING BTREE
|
||||||
) ENGINE = InnoDB AUTO_INCREMENT = 2 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci COMMENT = '数据-文章-内容' ROW_FORMAT = COMPACT;
|
) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci COMMENT = '数据-文章-内容' ROW_FORMAT = COMPACT;
|
||||||
|
|
||||||
-- ----------------------------
|
-- ----------------------------
|
||||||
-- Table structure for data_news_mark
|
-- Table structure for data_news_mark
|
||||||
@ -212,7 +212,7 @@ CREATE TABLE `data_news_mark` (
|
|||||||
PRIMARY KEY (`id`) USING BTREE,
|
PRIMARY KEY (`id`) USING BTREE,
|
||||||
INDEX `idx_data_news_mark_status`(`status`) USING BTREE,
|
INDEX `idx_data_news_mark_status`(`status`) USING BTREE,
|
||||||
INDEX `idx_data_news_mark_deleted`(`deleted`) USING BTREE
|
INDEX `idx_data_news_mark_deleted`(`deleted`) USING BTREE
|
||||||
) ENGINE = InnoDB AUTO_INCREMENT = 2 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci COMMENT = '数据-文章-标签' ROW_FORMAT = COMPACT;
|
) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci COMMENT = '数据-文章-标签' ROW_FORMAT = COMPACT;
|
||||||
|
|
||||||
-- ----------------------------
|
-- ----------------------------
|
||||||
-- Table structure for data_news_x_collect
|
-- Table structure for data_news_x_collect
|
||||||
@ -262,7 +262,7 @@ CREATE TABLE `data_user` (
|
|||||||
`base_weight` varchar(10) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT '' COMMENT '用户体重',
|
`base_weight` varchar(10) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT '' COMMENT '用户体重',
|
||||||
`base_birthday` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT '' COMMENT '用户生日',
|
`base_birthday` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT '' COMMENT '用户生日',
|
||||||
`vip_code` bigint(20) NULL DEFAULT 0 COMMENT 'VIP等级编号',
|
`vip_code` bigint(20) NULL DEFAULT 0 COMMENT 'VIP等级编号',
|
||||||
`vip_name` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT '' COMMENT 'VIP等级名称',
|
`vip_name` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT '普通用户' COMMENT 'VIP等级名称',
|
||||||
`vip_order` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT '' COMMENT 'VIP升级订单',
|
`vip_order` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT '' COMMENT 'VIP升级订单',
|
||||||
`vip_datetime` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT '' COMMENT 'VIP等级时间',
|
`vip_datetime` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT '' COMMENT 'VIP等级时间',
|
||||||
`buy_vip_entry` tinyint(1) UNSIGNED NULL DEFAULT 0 COMMENT '是否入会礼包',
|
`buy_vip_entry` tinyint(1) UNSIGNED NULL DEFAULT 0 COMMENT '是否入会礼包',
|
||||||
@ -293,7 +293,7 @@ CREATE TABLE `data_user` (
|
|||||||
INDEX `idx_data_user_openid1`(`openid1`) USING BTREE,
|
INDEX `idx_data_user_openid1`(`openid1`) USING BTREE,
|
||||||
INDEX `idx_data_user_openid2`(`openid2`) USING BTREE,
|
INDEX `idx_data_user_openid2`(`openid2`) USING BTREE,
|
||||||
INDEX `idx_data_user_unionid`(`unionid`) USING BTREE
|
INDEX `idx_data_user_unionid`(`unionid`) USING BTREE
|
||||||
) ENGINE = InnoDB AUTO_INCREMENT = 8 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci COMMENT = '数据-用户-会员' ROW_FORMAT = COMPACT;
|
) ENGINE = InnoDB AUTO_INCREMENT = 2 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci COMMENT = '数据-用户-会员' ROW_FORMAT = COMPACT;
|
||||||
|
|
||||||
-- ----------------------------
|
-- ----------------------------
|
||||||
-- Table structure for data_user_address
|
-- Table structure for data_user_address
|
||||||
@ -320,7 +320,7 @@ CREATE TABLE `data_user_address` (
|
|||||||
INDEX `idx_data_user_address_type`(`type`) USING BTREE,
|
INDEX `idx_data_user_address_type`(`type`) USING BTREE,
|
||||||
INDEX `idx_data_user_address_code`(`code`) USING BTREE,
|
INDEX `idx_data_user_address_code`(`code`) USING BTREE,
|
||||||
INDEX `idx_data_user_address_deleted`(`deleted`) USING BTREE
|
INDEX `idx_data_user_address_deleted`(`deleted`) USING BTREE
|
||||||
) ENGINE = InnoDB AUTO_INCREMENT = 5 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci COMMENT = '数据-用户-地址' ROW_FORMAT = COMPACT;
|
) ENGINE = InnoDB AUTO_INCREMENT = 2 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci COMMENT = '数据-用户-地址' ROW_FORMAT = COMPACT;
|
||||||
|
|
||||||
-- ----------------------------
|
-- ----------------------------
|
||||||
-- Table structure for data_user_balance
|
-- Table structure for data_user_balance
|
||||||
@ -341,7 +341,7 @@ CREATE TABLE `data_user_balance` (
|
|||||||
INDEX `idx_data_user_balance_uid`(`uid`) USING BTREE,
|
INDEX `idx_data_user_balance_uid`(`uid`) USING BTREE,
|
||||||
INDEX `idx_data_user_balance_code`(`code`) USING BTREE,
|
INDEX `idx_data_user_balance_code`(`code`) USING BTREE,
|
||||||
INDEX `idx_data_user_balance_deleted`(`deleted`) USING BTREE
|
INDEX `idx_data_user_balance_deleted`(`deleted`) USING BTREE
|
||||||
) ENGINE = InnoDB AUTO_INCREMENT = 29 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci COMMENT = '数据-用户-余额' ROW_FORMAT = COMPACT;
|
) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci COMMENT = '数据-用户-余额' ROW_FORMAT = COMPACT;
|
||||||
|
|
||||||
-- ----------------------------
|
-- ----------------------------
|
||||||
-- Table structure for data_user_message
|
-- Table structure for data_user_message
|
||||||
@ -386,7 +386,7 @@ CREATE TABLE `data_user_payment` (
|
|||||||
INDEX `idx_data_user_payment_payment_type`(`payment_type`) USING BTREE,
|
INDEX `idx_data_user_payment_payment_type`(`payment_type`) USING BTREE,
|
||||||
INDEX `idx_data_user_payment_payment_trade`(`payment_trade`) USING BTREE,
|
INDEX `idx_data_user_payment_payment_trade`(`payment_trade`) USING BTREE,
|
||||||
INDEX `idx_data_user_payment_payment_status`(`payment_status`) USING BTREE
|
INDEX `idx_data_user_payment_payment_status`(`payment_status`) USING BTREE
|
||||||
) ENGINE = InnoDB AUTO_INCREMENT = 30 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci COMMENT = '数据-用户-支付' ROW_FORMAT = COMPACT;
|
) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci COMMENT = '数据-用户-支付' ROW_FORMAT = COMPACT;
|
||||||
|
|
||||||
-- ----------------------------
|
-- ----------------------------
|
||||||
-- Table structure for data_user_rebate
|
-- Table structure for data_user_rebate
|
||||||
@ -413,7 +413,7 @@ CREATE TABLE `data_user_rebate` (
|
|||||||
INDEX `idx_data_user_rebate_code`(`code`) USING BTREE,
|
INDEX `idx_data_user_rebate_code`(`code`) USING BTREE,
|
||||||
INDEX `idx_data_user_rebate_name`(`name`) USING BTREE,
|
INDEX `idx_data_user_rebate_name`(`name`) USING BTREE,
|
||||||
INDEX `idx_data_user_rebate_status`(`status`) USING BTREE
|
INDEX `idx_data_user_rebate_status`(`status`) USING BTREE
|
||||||
) ENGINE = InnoDB AUTO_INCREMENT = 53 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci COMMENT = '数据-用户-返利' ROW_FORMAT = COMPACT;
|
) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci COMMENT = '数据-用户-返利' ROW_FORMAT = COMPACT;
|
||||||
|
|
||||||
-- ----------------------------
|
-- ----------------------------
|
||||||
-- Table structure for data_user_token
|
-- Table structure for data_user_token
|
||||||
@ -431,7 +431,7 @@ CREATE TABLE `data_user_token` (
|
|||||||
INDEX `idx_data_user_token_type`(`type`) USING BTREE,
|
INDEX `idx_data_user_token_type`(`type`) USING BTREE,
|
||||||
INDEX `idx_data_user_token_time`(`time`) USING BTREE,
|
INDEX `idx_data_user_token_time`(`time`) USING BTREE,
|
||||||
INDEX `idx_data_user_token_token`(`token`) USING BTREE
|
INDEX `idx_data_user_token_token`(`token`) USING BTREE
|
||||||
) ENGINE = InnoDB AUTO_INCREMENT = 43 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci COMMENT = '数据-用户-认证' ROW_FORMAT = COMPACT;
|
) ENGINE = InnoDB AUTO_INCREMENT = 40 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci COMMENT = '数据-用户-认证' ROW_FORMAT = COMPACT;
|
||||||
|
|
||||||
-- ----------------------------
|
-- ----------------------------
|
||||||
-- Table structure for data_user_transfer
|
-- Table structure for data_user_transfer
|
||||||
@ -519,7 +519,7 @@ CREATE TABLE `shop_goods` (
|
|||||||
INDEX `idx_shop_goods_cate`(`cateids`(191)) USING BTREE,
|
INDEX `idx_shop_goods_cate`(`cateids`(191)) USING BTREE,
|
||||||
INDEX `idx_shop_goods_status`(`status`) USING BTREE,
|
INDEX `idx_shop_goods_status`(`status`) USING BTREE,
|
||||||
INDEX `idx_shop_goods_deleted`(`deleted`) USING BTREE
|
INDEX `idx_shop_goods_deleted`(`deleted`) USING BTREE
|
||||||
) ENGINE = InnoDB AUTO_INCREMENT = 6 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci COMMENT = '商城-商品-内容' ROW_FORMAT = COMPACT;
|
) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci COMMENT = '商城-商品-内容' ROW_FORMAT = COMPACT;
|
||||||
|
|
||||||
-- ----------------------------
|
-- ----------------------------
|
||||||
-- Table structure for shop_goods_cate
|
-- Table structure for shop_goods_cate
|
||||||
@ -539,7 +539,7 @@ CREATE TABLE `shop_goods_cate` (
|
|||||||
INDEX `idx_shop_goods_cate_sort`(`sort`) USING BTREE,
|
INDEX `idx_shop_goods_cate_sort`(`sort`) USING BTREE,
|
||||||
INDEX `idx_shop_goods_cate_status`(`status`) USING BTREE,
|
INDEX `idx_shop_goods_cate_status`(`status`) USING BTREE,
|
||||||
INDEX `idx_shop_goods_cate_deleted`(`deleted`) USING BTREE
|
INDEX `idx_shop_goods_cate_deleted`(`deleted`) USING BTREE
|
||||||
) ENGINE = InnoDB AUTO_INCREMENT = 5 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci COMMENT = '商城-商品-分类' ROW_FORMAT = COMPACT;
|
) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci COMMENT = '商城-商品-分类' ROW_FORMAT = COMPACT;
|
||||||
|
|
||||||
-- ----------------------------
|
-- ----------------------------
|
||||||
-- Table structure for shop_goods_item
|
-- Table structure for shop_goods_item
|
||||||
@ -564,7 +564,7 @@ CREATE TABLE `shop_goods_item` (
|
|||||||
INDEX `index_store_goods_item_code`(`goods_code`) USING BTREE,
|
INDEX `index_store_goods_item_code`(`goods_code`) USING BTREE,
|
||||||
INDEX `index_store_goods_item_spec`(`goods_spec`) USING BTREE,
|
INDEX `index_store_goods_item_spec`(`goods_spec`) USING BTREE,
|
||||||
INDEX `index_store_goods_item_status`(`status`) USING BTREE
|
INDEX `index_store_goods_item_status`(`status`) USING BTREE
|
||||||
) ENGINE = InnoDB AUTO_INCREMENT = 7 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci COMMENT = '商城-商品-规格' ROW_FORMAT = COMPACT;
|
) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci COMMENT = '商城-商品-规格' ROW_FORMAT = COMPACT;
|
||||||
|
|
||||||
-- ----------------------------
|
-- ----------------------------
|
||||||
-- Table structure for shop_goods_mark
|
-- Table structure for shop_goods_mark
|
||||||
@ -580,7 +580,7 @@ CREATE TABLE `shop_goods_mark` (
|
|||||||
PRIMARY KEY (`id`) USING BTREE,
|
PRIMARY KEY (`id`) USING BTREE,
|
||||||
INDEX `idx_shop_goods_mark_sort`(`sort`) USING BTREE,
|
INDEX `idx_shop_goods_mark_sort`(`sort`) USING BTREE,
|
||||||
INDEX `idx_shop_goods_mark_status`(`status`) USING BTREE
|
INDEX `idx_shop_goods_mark_status`(`status`) USING BTREE
|
||||||
) ENGINE = InnoDB AUTO_INCREMENT = 2 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci COMMENT = '商城-商品-标签' ROW_FORMAT = COMPACT;
|
) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci COMMENT = '商城-商品-标签' ROW_FORMAT = COMPACT;
|
||||||
|
|
||||||
-- ----------------------------
|
-- ----------------------------
|
||||||
-- Table structure for shop_goods_stock
|
-- Table structure for shop_goods_stock
|
||||||
@ -598,7 +598,7 @@ CREATE TABLE `shop_goods_stock` (
|
|||||||
PRIMARY KEY (`id`) USING BTREE,
|
PRIMARY KEY (`id`) USING BTREE,
|
||||||
INDEX `idx_shop_goods_stock_status`(`status`) USING BTREE,
|
INDEX `idx_shop_goods_stock_status`(`status`) USING BTREE,
|
||||||
INDEX `idx_shop_goods_stock_deleted`(`deleted`) USING BTREE
|
INDEX `idx_shop_goods_stock_deleted`(`deleted`) USING BTREE
|
||||||
) ENGINE = InnoDB AUTO_INCREMENT = 9 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci COMMENT = '商城-商品-库存' ROW_FORMAT = COMPACT;
|
) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci COMMENT = '商城-商品-库存' ROW_FORMAT = COMPACT;
|
||||||
|
|
||||||
-- ----------------------------
|
-- ----------------------------
|
||||||
-- Table structure for shop_order
|
-- Table structure for shop_order
|
||||||
@ -648,7 +648,7 @@ CREATE TABLE `shop_order` (
|
|||||||
INDEX `idx_shop_order_orderno`(`order_no`) USING BTREE,
|
INDEX `idx_shop_order_orderno`(`order_no`) USING BTREE,
|
||||||
INDEX `idx_shop_order_cancel_status`(`cancel_status`) USING BTREE,
|
INDEX `idx_shop_order_cancel_status`(`cancel_status`) USING BTREE,
|
||||||
INDEX `idx_shop_order_payment_status`(`payment_status`) USING BTREE
|
INDEX `idx_shop_order_payment_status`(`payment_status`) USING BTREE
|
||||||
) ENGINE = InnoDB AUTO_INCREMENT = 47 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci COMMENT = '商城-订单-内容' ROW_FORMAT = COMPACT;
|
) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci COMMENT = '商城-订单-内容' ROW_FORMAT = COMPACT;
|
||||||
|
|
||||||
-- ----------------------------
|
-- ----------------------------
|
||||||
-- Table structure for shop_order_item
|
-- Table structure for shop_order_item
|
||||||
@ -694,7 +694,7 @@ CREATE TABLE `shop_order_item` (
|
|||||||
INDEX `idx_shop_order_item_goods_code`(`goods_code`) USING BTREE,
|
INDEX `idx_shop_order_item_goods_code`(`goods_code`) USING BTREE,
|
||||||
INDEX `idx_shop_order_item_goods_spec`(`goods_spec`) USING BTREE,
|
INDEX `idx_shop_order_item_goods_spec`(`goods_spec`) USING BTREE,
|
||||||
INDEX `idx_shop_order_item_rebate_type`(`rebate_type`) USING BTREE
|
INDEX `idx_shop_order_item_rebate_type`(`rebate_type`) USING BTREE
|
||||||
) ENGINE = InnoDB AUTO_INCREMENT = 47 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci COMMENT = '商城-订单-商品' ROW_FORMAT = COMPACT;
|
) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci COMMENT = '商城-订单-商品' ROW_FORMAT = COMPACT;
|
||||||
|
|
||||||
-- ----------------------------
|
-- ----------------------------
|
||||||
-- Table structure for shop_order_send
|
-- Table structure for shop_order_send
|
||||||
@ -732,7 +732,7 @@ CREATE TABLE `shop_order_send` (
|
|||||||
INDEX `idx_shop_order_send_status`(`status`) USING BTREE,
|
INDEX `idx_shop_order_send_status`(`status`) USING BTREE,
|
||||||
INDEX `idx_shop_order_send_deleted`(`deleted`) USING BTREE,
|
INDEX `idx_shop_order_send_deleted`(`deleted`) USING BTREE,
|
||||||
INDEX `idx_shop_order_send_order_no`(`order_no`) USING BTREE
|
INDEX `idx_shop_order_send_order_no`(`order_no`) USING BTREE
|
||||||
) ENGINE = InnoDB AUTO_INCREMENT = 28 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci COMMENT = '商城-订单-配送' ROW_FORMAT = COMPACT;
|
) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci COMMENT = '商城-订单-配送' ROW_FORMAT = COMPACT;
|
||||||
|
|
||||||
-- ----------------------------
|
-- ----------------------------
|
||||||
-- Table structure for system_auth
|
-- Table structure for system_auth
|
||||||
@ -748,7 +748,7 @@ CREATE TABLE `system_auth` (
|
|||||||
PRIMARY KEY (`id`) USING BTREE,
|
PRIMARY KEY (`id`) USING BTREE,
|
||||||
INDEX `idx_system_auth_title`(`title`) USING BTREE,
|
INDEX `idx_system_auth_title`(`title`) USING BTREE,
|
||||||
INDEX `idx_system_auth_status`(`status`) USING BTREE
|
INDEX `idx_system_auth_status`(`status`) USING BTREE
|
||||||
) ENGINE = InnoDB AUTO_INCREMENT = 2 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci COMMENT = '系统-权限' ROW_FORMAT = COMPACT;
|
) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci COMMENT = '系统-权限' ROW_FORMAT = COMPACT;
|
||||||
|
|
||||||
-- ----------------------------
|
-- ----------------------------
|
||||||
-- Table structure for system_auth_node
|
-- Table structure for system_auth_node
|
||||||
@ -761,7 +761,7 @@ CREATE TABLE `system_auth_node` (
|
|||||||
PRIMARY KEY (`id`) USING BTREE,
|
PRIMARY KEY (`id`) USING BTREE,
|
||||||
INDEX `idx_system_auth_auth`(`auth`) USING BTREE,
|
INDEX `idx_system_auth_auth`(`auth`) USING BTREE,
|
||||||
INDEX `idx_system_auth_node`(`node`(191)) USING BTREE
|
INDEX `idx_system_auth_node`(`node`(191)) USING BTREE
|
||||||
) ENGINE = InnoDB AUTO_INCREMENT = 107 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci COMMENT = '系统-授权' ROW_FORMAT = COMPACT;
|
) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci COMMENT = '系统-授权' ROW_FORMAT = COMPACT;
|
||||||
|
|
||||||
-- ----------------------------
|
-- ----------------------------
|
||||||
-- Table structure for system_config
|
-- Table structure for system_config
|
||||||
@ -775,7 +775,7 @@ CREATE TABLE `system_config` (
|
|||||||
PRIMARY KEY (`id`) USING BTREE,
|
PRIMARY KEY (`id`) USING BTREE,
|
||||||
INDEX `idx_system_config_type`(`type`) USING BTREE,
|
INDEX `idx_system_config_type`(`type`) USING BTREE,
|
||||||
INDEX `idx_system_config_name`(`name`) USING BTREE
|
INDEX `idx_system_config_name`(`name`) USING BTREE
|
||||||
) ENGINE = InnoDB AUTO_INCREMENT = 40 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci COMMENT = '系统-配置' ROW_FORMAT = COMPACT;
|
) ENGINE = InnoDB AUTO_INCREMENT = 27 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci COMMENT = '系统-配置' ROW_FORMAT = COMPACT;
|
||||||
|
|
||||||
-- ----------------------------
|
-- ----------------------------
|
||||||
-- Table structure for system_data
|
-- Table structure for system_data
|
||||||
@ -787,7 +787,7 @@ CREATE TABLE `system_data` (
|
|||||||
`value` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL COMMENT '配置值',
|
`value` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL COMMENT '配置值',
|
||||||
PRIMARY KEY (`id`) USING BTREE,
|
PRIMARY KEY (`id`) USING BTREE,
|
||||||
INDEX `idx_system_data_name`(`name`) USING BTREE
|
INDEX `idx_system_data_name`(`name`) USING BTREE
|
||||||
) ENGINE = InnoDB AUTO_INCREMENT = 8 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci COMMENT = '系统-数据' ROW_FORMAT = COMPACT;
|
) ENGINE = InnoDB AUTO_INCREMENT = 9 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci COMMENT = '系统-数据' ROW_FORMAT = COMPACT;
|
||||||
|
|
||||||
-- ----------------------------
|
-- ----------------------------
|
||||||
-- Table structure for system_menu
|
-- Table structure for system_menu
|
||||||
@ -807,7 +807,7 @@ CREATE TABLE `system_menu` (
|
|||||||
`create_at` timestamp NULL DEFAULT CURRENT_TIMESTAMP COMMENT '创建时间',
|
`create_at` timestamp NULL DEFAULT CURRENT_TIMESTAMP COMMENT '创建时间',
|
||||||
PRIMARY KEY (`id`) USING BTREE,
|
PRIMARY KEY (`id`) USING BTREE,
|
||||||
INDEX `idx_system_menu_status`(`status`) USING BTREE
|
INDEX `idx_system_menu_status`(`status`) USING BTREE
|
||||||
) ENGINE = InnoDB AUTO_INCREMENT = 99 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci COMMENT = '系统-菜单' ROW_FORMAT = COMPACT;
|
) ENGINE = InnoDB AUTO_INCREMENT = 100 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci COMMENT = '系统-菜单' ROW_FORMAT = COMPACT;
|
||||||
|
|
||||||
-- ----------------------------
|
-- ----------------------------
|
||||||
-- Table structure for system_oplog
|
-- Table structure for system_oplog
|
||||||
@ -822,7 +822,7 @@ CREATE TABLE `system_oplog` (
|
|||||||
`username` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '' COMMENT '操作人用户名',
|
`username` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '' COMMENT '操作人用户名',
|
||||||
`create_at` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '创建时间',
|
`create_at` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '创建时间',
|
||||||
PRIMARY KEY (`id`) USING BTREE
|
PRIMARY KEY (`id`) USING BTREE
|
||||||
) ENGINE = InnoDB AUTO_INCREMENT = 207 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci COMMENT = '系统-日志' ROW_FORMAT = COMPACT;
|
) ENGINE = InnoDB AUTO_INCREMENT = 79 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci COMMENT = '系统-日志' ROW_FORMAT = COMPACT;
|
||||||
|
|
||||||
-- ----------------------------
|
-- ----------------------------
|
||||||
-- Table structure for system_queue
|
-- Table structure for system_queue
|
||||||
@ -831,7 +831,7 @@ DROP TABLE IF EXISTS `system_queue`;
|
|||||||
CREATE TABLE `system_queue` (
|
CREATE TABLE `system_queue` (
|
||||||
`id` bigint(20) NOT NULL AUTO_INCREMENT,
|
`id` bigint(20) NOT NULL AUTO_INCREMENT,
|
||||||
`code` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '' COMMENT '任务编号',
|
`code` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '' COMMENT '任务编号',
|
||||||
`title` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '' COMMENT '任务名称',
|
`title` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '' COMMENT '任务名称',
|
||||||
`command` varchar(500) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT '' COMMENT '执行指令',
|
`command` varchar(500) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT '' COMMENT '执行指令',
|
||||||
`exec_pid` bigint(20) NULL DEFAULT 0 COMMENT '执行进程',
|
`exec_pid` bigint(20) NULL DEFAULT 0 COMMENT '执行进程',
|
||||||
`exec_data` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL COMMENT '执行参数',
|
`exec_data` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL COMMENT '执行参数',
|
||||||
@ -851,7 +851,7 @@ CREATE TABLE `system_queue` (
|
|||||||
INDEX `idx_system_queue_rscript`(`rscript`) USING BTREE,
|
INDEX `idx_system_queue_rscript`(`rscript`) USING BTREE,
|
||||||
INDEX `idx_system_queue_create_at`(`create_at`) USING BTREE,
|
INDEX `idx_system_queue_create_at`(`create_at`) USING BTREE,
|
||||||
INDEX `idx_system_queue_exec_time`(`exec_time`) USING BTREE
|
INDEX `idx_system_queue_exec_time`(`exec_time`) USING BTREE
|
||||||
) ENGINE = InnoDB AUTO_INCREMENT = 34 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci COMMENT = '系统-任务' ROW_FORMAT = COMPACT;
|
) ENGINE = InnoDB AUTO_INCREMENT = 3 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci COMMENT = '系统-任务' ROW_FORMAT = COMPACT;
|
||||||
|
|
||||||
-- ----------------------------
|
-- ----------------------------
|
||||||
-- Table structure for system_user
|
-- Table structure for system_user
|
||||||
@ -908,9 +908,9 @@ CREATE TABLE `wechat_auto` (
|
|||||||
PRIMARY KEY (`id`) USING BTREE,
|
PRIMARY KEY (`id`) USING BTREE,
|
||||||
INDEX `idx_wechat_auto_type`(`type`) USING BTREE,
|
INDEX `idx_wechat_auto_type`(`type`) USING BTREE,
|
||||||
INDEX `idx_wechat_auto_keys`(`time`) USING BTREE,
|
INDEX `idx_wechat_auto_keys`(`time`) USING BTREE,
|
||||||
INDEX `idx_wechat_auto_code`(`code`) USING BTREE,
|
INDEX `idx_wechat_auto_appid`(`appid`) USING BTREE,
|
||||||
INDEX `idx_wechat_auto_appid`(`appid`) USING BTREE
|
INDEX `idx_wechat_auto_code`(`code`) USING BTREE
|
||||||
) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci COMMENT = '微信-回复' ROW_FORMAT = COMPACT;
|
) ENGINE = InnoDB AUTO_INCREMENT = 2 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci COMMENT = '微信-回复' ROW_FORMAT = COMPACT;
|
||||||
|
|
||||||
-- ----------------------------
|
-- ----------------------------
|
||||||
-- Table structure for wechat_fans
|
-- Table structure for wechat_fans
|
||||||
@ -943,7 +943,7 @@ CREATE TABLE `wechat_fans` (
|
|||||||
INDEX `index_wechat_fans_unionid`(`unionid`) USING BTREE,
|
INDEX `index_wechat_fans_unionid`(`unionid`) USING BTREE,
|
||||||
INDEX `index_wechat_fans_isblack`(`is_black`) USING BTREE,
|
INDEX `index_wechat_fans_isblack`(`is_black`) USING BTREE,
|
||||||
INDEX `index_wechat_fans_subscribe`(`subscribe`) USING BTREE
|
INDEX `index_wechat_fans_subscribe`(`subscribe`) USING BTREE
|
||||||
) ENGINE = InnoDB AUTO_INCREMENT = 2 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci COMMENT = '微信-粉丝' ROW_FORMAT = COMPACT;
|
) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci COMMENT = '微信-粉丝' ROW_FORMAT = COMPACT;
|
||||||
|
|
||||||
-- ----------------------------
|
-- ----------------------------
|
||||||
-- Table structure for wechat_fans_tags
|
-- Table structure for wechat_fans_tags
|
||||||
@ -987,7 +987,7 @@ CREATE TABLE `wechat_keys` (
|
|||||||
INDEX `index_wechat_keys_type`(`type`) USING BTREE,
|
INDEX `index_wechat_keys_type`(`type`) USING BTREE,
|
||||||
INDEX `index_wechat_keys_keys`(`keys`) USING BTREE,
|
INDEX `index_wechat_keys_keys`(`keys`) USING BTREE,
|
||||||
INDEX `index_wechat_keys_appid`(`appid`) USING BTREE
|
INDEX `index_wechat_keys_appid`(`appid`) USING BTREE
|
||||||
) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci COMMENT = '微信-规则' ROW_FORMAT = COMPACT;
|
) ENGINE = InnoDB AUTO_INCREMENT = 2 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci COMMENT = '微信-规则' ROW_FORMAT = COMPACT;
|
||||||
|
|
||||||
-- ----------------------------
|
-- ----------------------------
|
||||||
-- Table structure for wechat_media
|
-- Table structure for wechat_media
|
||||||
|
Loading…
x
Reference in New Issue
Block a user