乱七八糟

This commit is contained in:
weicw
2023-10-23 15:19:06 +08:00
parent 0adf61744b
commit 1b842a9ea5
274 changed files with 323196 additions and 17347 deletions

View File

@@ -0,0 +1,43 @@
/*
Navicat Premium Data Transfer
Source Server : 云芯威BMS
Source Server Type : MySQL
Source Server Version : 50733 (5.7.33-log)
Source Host : 47.119.165.234:3308
Source Schema : open_ws
Target Server Type : MySQL
Target Server Version : 50733 (5.7.33-log)
File Encoding : 65001
Date: 29/08/2023 17:25:32
*/
SET NAMES utf8mb4;
SET FOREIGN_KEY_CHECKS = 0;
-- ----------------------------
-- Table structure for shop_manager
-- ----------------------------
DROP TABLE IF EXISTS `shop_manager`;
CREATE TABLE `shop_manager` (
`manager_id` int(11) UNSIGNED NOT NULL AUTO_INCREMENT COMMENT '主键ID',
`user_id` int(11) UNSIGNED NOT NULL DEFAULT 0 COMMENT '用户ID',
`area` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '区域',
`city` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '城市',
`province` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '省份',
`sort_number` int(11) UNSIGNED NOT NULL DEFAULT 100 COMMENT '排序(数字越小越靠前)',
`comments` varchar(300) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT '' COMMENT '备注',
`status` int(1) NOT NULL DEFAULT 0 COMMENT '状态, 0正常, 1冻结',
`deleted` int(1) NOT NULL DEFAULT 0 COMMENT '是否删除, 0否, 1是',
`tenant_id` int(11) NOT NULL DEFAULT 1 COMMENT '租户id',
`create_time` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '注册时间',
`update_time` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT '修改时间',
PRIMARY KEY (`manager_id`) USING BTREE,
INDEX `user_id`(`user_id`) USING BTREE,
INDEX `tenant_id`(`tenant_id`) USING BTREE,
CONSTRAINT `shop_manager_ibfk_1` FOREIGN KEY (`tenant_id`) REFERENCES `sys_tenant` (`tenant_id`) ON DELETE CASCADE ON UPDATE RESTRICT
) ENGINE = InnoDB AUTO_INCREMENT = 10 CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '商城会员' ROW_FORMAT = Dynamic;
SET FOREIGN_KEY_CHECKS = 1;