|
|
/*
|
|
|
Navicat Premium Data Transfer
|
|
|
|
|
|
Source Server : win10-mysql
|
|
|
Source Server Type : MySQL
|
|
|
Source Server Version : 80018
|
|
|
Source Host : 192.168.145.132:3306
|
|
|
Source Schema : mall-project-mn-meishi-zeng
|
|
|
|
|
|
Target Server Type : MySQL
|
|
|
Target Server Version : 80018
|
|
|
File Encoding : 65001
|
|
|
|
|
|
Date: 24/04/2024 20:34:24
|
|
|
*/
|
|
|
|
|
|
SET NAMES utf8mb4;
|
|
|
SET FOREIGN_KEY_CHECKS = 0;
|
|
|
|
|
|
-- ----------------------------
|
|
|
-- Table structure for auth_group
|
|
|
-- ----------------------------
|
|
|
DROP TABLE IF EXISTS `auth_group`;
|
|
|
CREATE TABLE `auth_group` (
|
|
|
`id` int(11) NOT NULL AUTO_INCREMENT,
|
|
|
`name` varchar(150) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL,
|
|
|
PRIMARY KEY (`id`) USING BTREE,
|
|
|
UNIQUE INDEX `name`(`name`) USING BTREE
|
|
|
) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = Dynamic;
|
|
|
|
|
|
-- ----------------------------
|
|
|
-- Table structure for auth_group_permissions
|
|
|
-- ----------------------------
|
|
|
DROP TABLE IF EXISTS `auth_group_permissions`;
|
|
|
CREATE TABLE `auth_group_permissions` (
|
|
|
`id` int(11) NOT NULL AUTO_INCREMENT,
|
|
|
`group_id` int(11) NOT NULL,
|
|
|
`permission_id` int(11) NOT NULL,
|
|
|
PRIMARY KEY (`id`) USING BTREE,
|
|
|
UNIQUE INDEX `auth_group_permissions_group_id_permission_id_0cd325b0_uniq`(`group_id`, `permission_id`) USING BTREE,
|
|
|
INDEX `auth_group_permissio_permission_id_84c5c92e_fk_auth_perm`(`permission_id`) USING BTREE,
|
|
|
CONSTRAINT `auth_group_permissio_permission_id_84c5c92e_fk_auth_perm` FOREIGN KEY (`permission_id`) REFERENCES `auth_permission` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT,
|
|
|
CONSTRAINT `auth_group_permissions_group_id_b120cbf9_fk_auth_group_id` FOREIGN KEY (`group_id`) REFERENCES `auth_group` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT
|
|
|
) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = Dynamic;
|
|
|
|
|
|
-- ----------------------------
|
|
|
-- Table structure for auth_permission
|
|
|
-- ----------------------------
|
|
|
DROP TABLE IF EXISTS `auth_permission`;
|
|
|
CREATE TABLE `auth_permission` (
|
|
|
`id` int(11) NOT NULL AUTO_INCREMENT,
|
|
|
`name` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL,
|
|
|
`content_type_id` int(11) NOT NULL,
|
|
|
`codename` varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL,
|
|
|
PRIMARY KEY (`id`) USING BTREE,
|
|
|
UNIQUE INDEX `auth_permission_content_type_id_codename_01ab375a_uniq`(`content_type_id`, `codename`) USING BTREE,
|
|
|
CONSTRAINT `auth_permission_content_type_id_2f476e4b_fk_django_co` FOREIGN KEY (`content_type_id`) REFERENCES `django_content_type` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT
|
|
|
) ENGINE = InnoDB AUTO_INCREMENT = 53 CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = Dynamic;
|
|
|
|
|
|
-- ----------------------------
|
|
|
-- Records of auth_permission
|
|
|
-- ----------------------------
|
|
|
INSERT INTO `auth_permission` VALUES (1, 'Can add log entry', 1, 'add_logentry');
|
|
|
INSERT INTO `auth_permission` VALUES (2, 'Can change log entry', 1, 'change_logentry');
|
|
|
INSERT INTO `auth_permission` VALUES (3, 'Can delete log entry', 1, 'delete_logentry');
|
|
|
INSERT INTO `auth_permission` VALUES (4, 'Can add permission', 2, 'add_permission');
|
|
|
INSERT INTO `auth_permission` VALUES (5, 'Can change permission', 2, 'change_permission');
|
|
|
INSERT INTO `auth_permission` VALUES (6, 'Can delete permission', 2, 'delete_permission');
|
|
|
INSERT INTO `auth_permission` VALUES (7, 'Can add group', 3, 'add_group');
|
|
|
INSERT INTO `auth_permission` VALUES (8, 'Can change group', 3, 'change_group');
|
|
|
INSERT INTO `auth_permission` VALUES (9, 'Can delete group', 3, 'delete_group');
|
|
|
INSERT INTO `auth_permission` VALUES (10, 'Can add user', 4, 'add_user');
|
|
|
INSERT INTO `auth_permission` VALUES (11, 'Can change user', 4, 'change_user');
|
|
|
INSERT INTO `auth_permission` VALUES (12, 'Can delete user', 4, 'delete_user');
|
|
|
INSERT INTO `auth_permission` VALUES (13, 'Can add content type', 5, 'add_contenttype');
|
|
|
INSERT INTO `auth_permission` VALUES (14, 'Can change content type', 5, 'change_contenttype');
|
|
|
INSERT INTO `auth_permission` VALUES (15, 'Can delete content type', 5, 'delete_contenttype');
|
|
|
INSERT INTO `auth_permission` VALUES (16, 'Can add session', 6, 'add_session');
|
|
|
INSERT INTO `auth_permission` VALUES (17, 'Can change session', 6, 'change_session');
|
|
|
INSERT INTO `auth_permission` VALUES (18, 'Can delete session', 6, 'delete_session');
|
|
|
INSERT INTO `auth_permission` VALUES (19, 'Can add address', 7, 'add_address');
|
|
|
INSERT INTO `auth_permission` VALUES (20, 'Can change address', 7, 'change_address');
|
|
|
INSERT INTO `auth_permission` VALUES (21, 'Can delete address', 7, 'delete_address');
|
|
|
INSERT INTO `auth_permission` VALUES (22, 'Can add goods', 8, 'add_goods');
|
|
|
INSERT INTO `auth_permission` VALUES (23, 'Can change goods', 8, 'change_goods');
|
|
|
INSERT INTO `auth_permission` VALUES (24, 'Can delete goods', 8, 'delete_goods');
|
|
|
INSERT INTO `auth_permission` VALUES (25, 'Can add order', 9, 'add_order');
|
|
|
INSERT INTO `auth_permission` VALUES (26, 'Can change order', 9, 'change_order');
|
|
|
INSERT INTO `auth_permission` VALUES (27, 'Can delete order', 9, 'delete_order');
|
|
|
INSERT INTO `auth_permission` VALUES (28, 'Can add order_goods', 10, 'add_order_goods');
|
|
|
INSERT INTO `auth_permission` VALUES (29, 'Can change order_goods', 10, 'change_order_goods');
|
|
|
INSERT INTO `auth_permission` VALUES (30, 'Can delete order_goods', 10, 'delete_order_goods');
|
|
|
INSERT INTO `auth_permission` VALUES (31, 'Can add user', 11, 'add_user');
|
|
|
INSERT INTO `auth_permission` VALUES (32, 'Can change user', 11, 'change_user');
|
|
|
INSERT INTO `auth_permission` VALUES (33, 'Can delete user', 11, 'delete_user');
|
|
|
INSERT INTO `auth_permission` VALUES (34, 'Can add admin', 12, 'add_admin');
|
|
|
INSERT INTO `auth_permission` VALUES (35, 'Can change admin', 12, 'change_admin');
|
|
|
INSERT INTO `auth_permission` VALUES (36, 'Can delete admin', 12, 'delete_admin');
|
|
|
INSERT INTO `auth_permission` VALUES (37, 'Can view log entry', 1, 'view_logentry');
|
|
|
INSERT INTO `auth_permission` VALUES (38, 'Can view permission', 2, 'view_permission');
|
|
|
INSERT INTO `auth_permission` VALUES (39, 'Can view group', 3, 'view_group');
|
|
|
INSERT INTO `auth_permission` VALUES (40, 'Can view user', 4, 'view_user');
|
|
|
INSERT INTO `auth_permission` VALUES (41, 'Can view content type', 5, 'view_contenttype');
|
|
|
INSERT INTO `auth_permission` VALUES (42, 'Can view session', 6, 'view_session');
|
|
|
INSERT INTO `auth_permission` VALUES (43, 'Can view address', 7, 'view_address');
|
|
|
INSERT INTO `auth_permission` VALUES (44, 'Can view goods', 8, 'view_goods');
|
|
|
INSERT INTO `auth_permission` VALUES (45, 'Can view order', 9, 'view_order');
|
|
|
INSERT INTO `auth_permission` VALUES (46, 'Can view order_goods', 10, 'view_order_goods');
|
|
|
INSERT INTO `auth_permission` VALUES (47, 'Can view user', 11, 'view_user');
|
|
|
INSERT INTO `auth_permission` VALUES (48, 'Can view admin', 12, 'view_admin');
|
|
|
INSERT INTO `auth_permission` VALUES (49, 'Can add comment', 13, 'add_comment');
|
|
|
INSERT INTO `auth_permission` VALUES (50, 'Can change comment', 13, 'change_comment');
|
|
|
INSERT INTO `auth_permission` VALUES (51, 'Can delete comment', 13, 'delete_comment');
|
|
|
INSERT INTO `auth_permission` VALUES (52, 'Can view comment', 13, 'view_comment');
|
|
|
|
|
|
-- ----------------------------
|
|
|
-- Table structure for auth_user
|
|
|
-- ----------------------------
|
|
|
DROP TABLE IF EXISTS `auth_user`;
|
|
|
CREATE TABLE `auth_user` (
|
|
|
`id` int(11) NOT NULL AUTO_INCREMENT,
|
|
|
`password` varchar(128) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL,
|
|
|
`last_login` datetime(6) NULL DEFAULT NULL,
|
|
|
`is_superuser` tinyint(1) NOT NULL,
|
|
|
`username` varchar(150) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL,
|
|
|
`first_name` varchar(150) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL,
|
|
|
`last_name` varchar(150) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL,
|
|
|
`email` varchar(254) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL,
|
|
|
`is_staff` tinyint(1) NOT NULL,
|
|
|
`is_active` tinyint(1) NOT NULL,
|
|
|
`date_joined` datetime(6) NULL DEFAULT NULL,
|
|
|
PRIMARY KEY (`id`) USING BTREE,
|
|
|
UNIQUE INDEX `username`(`username`) USING BTREE
|
|
|
) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = Dynamic;
|
|
|
|
|
|
-- ----------------------------
|
|
|
-- Table structure for auth_user_groups
|
|
|
-- ----------------------------
|
|
|
DROP TABLE IF EXISTS `auth_user_groups`;
|
|
|
CREATE TABLE `auth_user_groups` (
|
|
|
`id` int(11) NOT NULL AUTO_INCREMENT,
|
|
|
`user_id` int(11) NOT NULL,
|
|
|
`group_id` int(11) NOT NULL,
|
|
|
PRIMARY KEY (`id`) USING BTREE,
|
|
|
UNIQUE INDEX `auth_user_groups_user_id_group_id_94350c0c_uniq`(`user_id`, `group_id`) USING BTREE,
|
|
|
INDEX `auth_user_groups_group_id_97559544_fk_auth_group_id`(`group_id`) USING BTREE,
|
|
|
CONSTRAINT `auth_user_groups_group_id_97559544_fk_auth_group_id` FOREIGN KEY (`group_id`) REFERENCES `auth_group` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT,
|
|
|
CONSTRAINT `auth_user_groups_user_id_6a12ed8b_fk_auth_user_id` FOREIGN KEY (`user_id`) REFERENCES `auth_user` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT
|
|
|
) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = Dynamic;
|
|
|
|
|
|
-- ----------------------------
|
|
|
-- Table structure for auth_user_user_permissions
|
|
|
-- ----------------------------
|
|
|
DROP TABLE IF EXISTS `auth_user_user_permissions`;
|
|
|
CREATE TABLE `auth_user_user_permissions` (
|
|
|
`id` int(11) NOT NULL AUTO_INCREMENT,
|
|
|
`user_id` int(11) NOT NULL,
|
|
|
`permission_id` int(11) NOT NULL,
|
|
|
PRIMARY KEY (`id`) USING BTREE,
|
|
|
UNIQUE INDEX `auth_user_user_permissions_user_id_permission_id_14a6b632_uniq`(`user_id`, `permission_id`) USING BTREE,
|
|
|
INDEX `auth_user_user_permi_permission_id_1fbb5f2c_fk_auth_perm`(`permission_id`) USING BTREE,
|
|
|
CONSTRAINT `auth_user_user_permi_permission_id_1fbb5f2c_fk_auth_perm` FOREIGN KEY (`permission_id`) REFERENCES `auth_permission` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT,
|
|
|
CONSTRAINT `auth_user_user_permissions_user_id_a95ead1b_fk_auth_user_id` FOREIGN KEY (`user_id`) REFERENCES `auth_user` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT
|
|
|
) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = Dynamic;
|
|
|
|
|
|
-- ----------------------------
|
|
|
-- Table structure for django_admin_log
|
|
|
-- ----------------------------
|
|
|
DROP TABLE IF EXISTS `django_admin_log`;
|
|
|
CREATE TABLE `django_admin_log` (
|
|
|
`id` int(11) NOT NULL AUTO_INCREMENT,
|
|
|
`action_time` datetime(6) NULL DEFAULT NULL,
|
|
|
`object_id` longtext CHARACTER SET utf8 COLLATE utf8_general_ci NULL,
|
|
|
`object_repr` varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL,
|
|
|
`action_flag` smallint(5) UNSIGNED NOT NULL,
|
|
|
`change_message` longtext CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL,
|
|
|
`content_type_id` int(11) NULL DEFAULT NULL,
|
|
|
`user_id` int(11) NOT NULL,
|
|
|
PRIMARY KEY (`id`) USING BTREE,
|
|
|
INDEX `django_admin_log_content_type_id_c4bce8eb_fk_django_co`(`content_type_id`) USING BTREE,
|
|
|
INDEX `django_admin_log_user_id_c564eba6_fk`(`user_id`) USING BTREE,
|
|
|
CONSTRAINT `django_admin_log_content_type_id_c4bce8eb_fk_django_co` FOREIGN KEY (`content_type_id`) REFERENCES `django_content_type` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT,
|
|
|
CONSTRAINT `django_admin_log_user_id_c564eba6_fk` FOREIGN KEY (`user_id`) REFERENCES `auth_user` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT
|
|
|
) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = Dynamic;
|
|
|
|
|
|
-- ----------------------------
|
|
|
-- Table structure for django_content_type
|
|
|
-- ----------------------------
|
|
|
DROP TABLE IF EXISTS `django_content_type`;
|
|
|
CREATE TABLE `django_content_type` (
|
|
|
`id` int(11) NOT NULL AUTO_INCREMENT,
|
|
|
`app_label` varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL,
|
|
|
`model` varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL,
|
|
|
PRIMARY KEY (`id`) USING BTREE,
|
|
|
UNIQUE INDEX `django_content_type_app_label_model_76bd3d3b_uniq`(`app_label`, `model`) USING BTREE
|
|
|
) ENGINE = InnoDB AUTO_INCREMENT = 14 CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = Dynamic;
|
|
|
|
|
|
-- ----------------------------
|
|
|
-- Records of django_content_type
|
|
|
-- ----------------------------
|
|
|
INSERT INTO `django_content_type` VALUES (1, 'admin', 'logentry');
|
|
|
INSERT INTO `django_content_type` VALUES (3, 'auth', 'group');
|
|
|
INSERT INTO `django_content_type` VALUES (2, 'auth', 'permission');
|
|
|
INSERT INTO `django_content_type` VALUES (4, 'auth', 'user');
|
|
|
INSERT INTO `django_content_type` VALUES (5, 'contenttypes', 'contenttype');
|
|
|
INSERT INTO `django_content_type` VALUES (7, 'mall', 'address');
|
|
|
INSERT INTO `django_content_type` VALUES (12, 'mall', 'admin');
|
|
|
INSERT INTO `django_content_type` VALUES (13, 'mall', 'comment');
|
|
|
INSERT INTO `django_content_type` VALUES (8, 'mall', 'goods');
|
|
|
INSERT INTO `django_content_type` VALUES (9, 'mall', 'order');
|
|
|
INSERT INTO `django_content_type` VALUES (10, 'mall', 'order_goods');
|
|
|
INSERT INTO `django_content_type` VALUES (11, 'mall', 'user');
|
|
|
INSERT INTO `django_content_type` VALUES (6, 'sessions', 'session');
|
|
|
|
|
|
-- ----------------------------
|
|
|
-- Table structure for django_migrations
|
|
|
-- ----------------------------
|
|
|
DROP TABLE IF EXISTS `django_migrations`;
|
|
|
CREATE TABLE `django_migrations` (
|
|
|
`id` int(11) NOT NULL AUTO_INCREMENT,
|
|
|
`app` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL,
|
|
|
`name` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL,
|
|
|
`applied` datetime(6) NULL DEFAULT NULL,
|
|
|
PRIMARY KEY (`id`) USING BTREE
|
|
|
) ENGINE = InnoDB AUTO_INCREMENT = 29 CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = Dynamic;
|
|
|
|
|
|
-- ----------------------------
|
|
|
-- Records of django_migrations
|
|
|
-- ----------------------------
|
|
|
INSERT INTO `django_migrations` VALUES (1, 'contenttypes', '0001_initial', '2024-03-07 13:17:14.568386');
|
|
|
INSERT INTO `django_migrations` VALUES (2, 'auth', '0001_initial', '2024-03-07 13:17:20.378547');
|
|
|
INSERT INTO `django_migrations` VALUES (3, 'admin', '0001_initial', '2024-03-07 13:17:21.557528');
|
|
|
INSERT INTO `django_migrations` VALUES (4, 'admin', '0002_logentry_remove_auto_add', '2024-03-07 13:17:21.579523');
|
|
|
INSERT INTO `django_migrations` VALUES (5, 'contenttypes', '0002_remove_content_type_name', '2024-03-07 13:17:22.035251');
|
|
|
INSERT INTO `django_migrations` VALUES (6, 'auth', '0002_alter_permission_name_max_length', '2024-03-07 13:17:22.299488');
|
|
|
INSERT INTO `django_migrations` VALUES (7, 'auth', '0003_alter_user_email_max_length', '2024-03-07 13:17:22.540773');
|
|
|
INSERT INTO `django_migrations` VALUES (8, 'auth', '0004_alter_user_username_opts', '2024-03-07 13:17:22.565938');
|
|
|
INSERT INTO `django_migrations` VALUES (9, 'auth', '0005_alter_user_last_login_null', '2024-03-07 13:17:24.159265');
|
|
|
INSERT INTO `django_migrations` VALUES (10, 'auth', '0006_require_contenttypes_0002', '2024-03-07 13:17:24.229800');
|
|
|
INSERT INTO `django_migrations` VALUES (11, 'auth', '0007_alter_validators_add_error_messages', '2024-03-07 13:17:24.268535');
|
|
|
INSERT INTO `django_migrations` VALUES (12, 'auth', '0008_alter_user_username_max_length', '2024-03-07 13:17:25.897200');
|
|
|
INSERT INTO `django_migrations` VALUES (13, 'auth', '0009_alter_user_last_name_max_length', '2024-03-07 13:17:26.163452');
|
|
|
INSERT INTO `django_migrations` VALUES (14, 'mall', '0001_initial', '2024-03-07 13:17:26.836744');
|
|
|
INSERT INTO `django_migrations` VALUES (15, 'sessions', '0001_initial', '2024-03-07 13:17:27.286727');
|
|
|
INSERT INTO `django_migrations` VALUES (16, 'mall', '0002_user_password', '2024-03-07 13:44:23.175411');
|
|
|
INSERT INTO `django_migrations` VALUES (17, 'mall', '0003_auto_20240307_2148', '2024-03-07 13:49:04.818441');
|
|
|
INSERT INTO `django_migrations` VALUES (18, 'mall', '0004_admin', '2024-03-07 15:13:50.723276');
|
|
|
INSERT INTO `django_migrations` VALUES (19, 'mall', '0005_auto_20240308_0137', '2024-03-07 17:37:14.720861');
|
|
|
INSERT INTO `django_migrations` VALUES (20, 'mall', '0006_auto_20240309_0449', '2024-03-08 20:49:51.917337');
|
|
|
INSERT INTO `django_migrations` VALUES (21, 'mall', '0007_address_check', '2024-03-08 21:25:26.456919');
|
|
|
INSERT INTO `django_migrations` VALUES (22, 'mall', '0008_auto_20240310_0545', '2024-03-09 21:46:10.611101');
|
|
|
INSERT INTO `django_migrations` VALUES (23, 'mall', '0009_auto_20240310_1837', '2024-03-10 10:37:56.922261');
|
|
|
INSERT INTO `django_migrations` VALUES (24, 'admin', '0003_logentry_add_action_flag_choices', '2024-04-23 23:18:38.178389');
|
|
|
INSERT INTO `django_migrations` VALUES (25, 'auth', '0010_alter_group_name_max_length', '2024-04-23 23:18:38.728067');
|
|
|
INSERT INTO `django_migrations` VALUES (26, 'auth', '0011_update_proxy_permissions', '2024-04-23 23:18:38.759052');
|
|
|
INSERT INTO `django_migrations` VALUES (27, 'auth', '0012_alter_user_first_name_max_length', '2024-04-23 23:18:39.145828');
|
|
|
INSERT INTO `django_migrations` VALUES (28, 'mall', '0010_comment', '2024-04-23 23:18:39.304737');
|
|
|
|
|
|
-- ----------------------------
|
|
|
-- Table structure for django_session
|
|
|
-- ----------------------------
|
|
|
DROP TABLE IF EXISTS `django_session`;
|
|
|
CREATE TABLE `django_session` (
|
|
|
`session_key` varchar(40) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL,
|
|
|
`session_data` longtext CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL,
|
|
|
`expire_date` datetime(6) NULL DEFAULT NULL,
|
|
|
PRIMARY KEY (`session_key`) USING BTREE,
|
|
|
INDEX `django_session_expire_date_a5c62663`(`expire_date`) USING BTREE
|
|
|
) ENGINE = InnoDB CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = Dynamic;
|
|
|
|
|
|
-- ----------------------------
|
|
|
-- Table structure for mall_address
|
|
|
-- ----------------------------
|
|
|
DROP TABLE IF EXISTS `mall_address`;
|
|
|
CREATE TABLE `mall_address` (
|
|
|
`id` int(11) NOT NULL AUTO_INCREMENT,
|
|
|
`name` varchar(30) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL,
|
|
|
`province` varchar(20) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL,
|
|
|
`city` varchar(20) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL,
|
|
|
`county` varchar(20) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL,
|
|
|
`add_detail` varchar(150) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL,
|
|
|
`phone` varchar(11) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL,
|
|
|
`user_id` varchar(30) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL,
|
|
|
`check` varchar(1) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL,
|
|
|
PRIMARY KEY (`id`) USING BTREE
|
|
|
) ENGINE = InnoDB AUTO_INCREMENT = 15 CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = Dynamic;
|
|
|
|
|
|
-- ----------------------------
|
|
|
-- Records of mall_address
|
|
|
-- ----------------------------
|
|
|
INSERT INTO `mall_address` VALUES (4, 'ww', 'ww', 'ww', 'ww', 'ww', 'ww', '1', 'N');
|
|
|
INSERT INTO `mall_address` VALUES (5, 'ee', 'ee', 'ee', 'ee', 'ee', 'ee', '1', 'N');
|
|
|
INSERT INTO `mall_address` VALUES (8, 'aaa', 'aaa', 'aa', 'aa', 'aaaaaa', 'aaa', '1', 'N');
|
|
|
INSERT INTO `mall_address` VALUES (9, 'bb', 'bb', 'bb', 'bb', 'bbbbb', 'bbbb', '1', 'N');
|
|
|
INSERT INTO `mall_address` VALUES (10, '王二', '江苏', '苏州', '太仓', '林荫大道223号', '12234567891', '2', 'Y');
|
|
|
INSERT INTO `mall_address` VALUES (11, '宋小宝', '上海', '上海', '浦东', '陆家嘴街道120号', '11122233345', '2', 'N');
|
|
|
INSERT INTO `mall_address` VALUES (12, '王大致', '黑龙江', '哈尔滨', '哈尔滨', '冰雪大道', '12345678999', '2', 'N');
|
|
|
INSERT INTO `mall_address` VALUES (13, '燕小六', '福建', '厦门', '七侠镇', '同福客栈', '222', '1', 'Y');
|
|
|
INSERT INTO `mall_address` VALUES (14, '白展堂', '福建', '厦门', '七侠镇', '同福客栈', '333333', '4', 'Y');
|
|
|
|
|
|
-- ----------------------------
|
|
|
-- Table structure for mall_admin
|
|
|
-- ----------------------------
|
|
|
DROP TABLE IF EXISTS `mall_admin`;
|
|
|
CREATE TABLE `mall_admin` (
|
|
|
`id` int(11) NOT NULL AUTO_INCREMENT,
|
|
|
`phone` varchar(11) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL,
|
|
|
`password` varchar(30) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL,
|
|
|
PRIMARY KEY (`id`) USING BTREE,
|
|
|
UNIQUE INDEX `phone`(`phone`) USING BTREE
|
|
|
) ENGINE = InnoDB AUTO_INCREMENT = 2 CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = Dynamic;
|
|
|
|
|
|
-- ----------------------------
|
|
|
-- Records of mall_admin
|
|
|
-- ----------------------------
|
|
|
INSERT INTO `mall_admin` VALUES (1, '12345678901', '123');
|
|
|
|
|
|
-- ----------------------------
|
|
|
-- Table structure for mall_comment
|
|
|
-- ----------------------------
|
|
|
DROP TABLE IF EXISTS `mall_comment`;
|
|
|
CREATE TABLE `mall_comment` (
|
|
|
`id` int(11) NOT NULL AUTO_INCREMENT,
|
|
|
`date` varchar(30) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL,
|
|
|
`info` varchar(300) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL,
|
|
|
`user_id` varchar(30) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL,
|
|
|
`goods_id` varchar(30) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL,
|
|
|
PRIMARY KEY (`id`) USING BTREE
|
|
|
) ENGINE = InnoDB CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = Dynamic;
|
|
|
|
|
|
-- ----------------------------
|
|
|
-- Records of mall_comment
|
|
|
-- ----------------------------
|
|
|
INSERT INTO `mall_comment` VALUES (1, '2024-04-24 07:52:55', 'fffffffffff', '4', '75');
|
|
|
|
|
|
-- ----------------------------
|
|
|
-- Table structure for mall_goods
|
|
|
-- ----------------------------
|
|
|
DROP TABLE IF EXISTS `mall_goods`;
|
|
|
CREATE TABLE `mall_goods` (
|
|
|
`id` int(11) NOT NULL AUTO_INCREMENT,
|
|
|
`name` varchar(130) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL,
|
|
|
`status` varchar(1) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL,
|
|
|
`simple` varchar(300) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL,
|
|
|
`detail` varchar(5000) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL,
|
|
|
`package_detail` varchar(5000) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL,
|
|
|
`package` varchar(5) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL,
|
|
|
`pic` varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
|
|
|
`market_price` varchar(5) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL,
|
|
|
`sale_price` varchar(5) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL,
|
|
|
PRIMARY KEY (`id`) USING BTREE
|
|
|
) ENGINE = InnoDB AUTO_INCREMENT = 79 CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = Dynamic;
|
|
|
|
|
|
-- ----------------------------
|
|
|
-- Records of mall_goods
|
|
|
-- ----------------------------
|
|
|
INSERT INTO `mall_goods` VALUES (70, '有香肉丝', 'Y', '海底捞 筷手小厨复合调味料川菜系列家常炒菜 鱼香肉丝调味', '鱼香肉丝(Yuxiang shredded pork),是四川的一道特色名菜,该菜品以泡辣椒、泡姜、大蒜、黄葱、生姜和醋炒制猪里脊肉丝而成,由民国时期的一位川菜大厨所创制,相传灵感来自泡椒肉丝。鱼香肉丝是一道著名川菜,其辣咸鲜酸兼备,葱姜蒜香浓郁,其鱼香味是用不含鱼的调味品调制而成,此法源出于四川民间独具特色的烹鱼调味方法,而今已广泛用于川味的熟菜中。', '品牌: 海底捞\n商品名称:海底捞 筷手小厨复合调味料川菜系列家常炒菜 鱼香肉丝调味料100g*3商品编号:10025870700092店铺: 筷手小厨官方旗舰店商品毛重:100.00g商品产地:中国大陆类别:煲汤料,腌制料,炖煮料烹饪建议:炒菜,蒸煮包装形式:袋装总净含量:100-499g(mL)国产/进口:国产', '34克', 'http://127.0.0.1:8000/static/uploads/20240407222432u=4209528697,3746155244&fm=253&fmt=auto&app=120&f=JPEG.webp', '34', '23');
|
|
|
INSERT INTO `mall_goods` VALUES (72, '西湖醋鱼酥鱼', 'Y', '落蓝楼外楼西湖醋鱼酥鱼端午礼包熏鱼下酒菜卤味熟食杭州特产名菜150g 西湖酥鱼150g', '西湖醋鱼是中国浙江省杭州市的传统风味名菜,具有悠久的历史和独特的口感。这道菜主要使用草鱼为原料,通过特殊的烹饪技巧和调料,使鱼肉鲜嫩、酸甜可口,带有蟹味,深受人们喜爱。12\n西湖鱼的制作过程包括将草鱼用开水焯烫后,淋上酸甜适中的酱汁,酱汁通常由醋、糖、酱油等调味料调配而成。最后,加入葱姜蒜末和香菜作为点缀。这道菜的独特之处在于它严格掌控火候,确保鱼肉的鲜嫩。24\n关于西湖醋鱼的历史背景有多种说法。一种说法是这道菜起源于南宋时期,与宋太祖赵匡胤有关。宋太祖赵匡胤曾亲临杭州西湖,对当地渔民制作的以鱼为主的菜肴赞不绝口,称之为“西湖醋鱼”。2\n总之,湖醋鱼不仅因其独特的口感和美味而闻名,还承载着丰富的历史文化价值,是中国传统菜肴中的一颗璀璨明珠。23', '品牌: 落蓝\n商品名称:落蓝楼外楼西湖醋鱼酥鱼端午礼包熏鱼下酒菜卤味熟食杭州特产名菜150g 西湖酥鱼150g商品编号:10078086449765店铺: 双妙方便食品专营店商品毛重:1.0kg货号:11917292495-妙方食类别:烤鱼片口味:胡萝卜味包装形式:袋装总净含量:≤200g国产/进口:国产', '56克', 'http://127.0.0.1:8000/static/uploads/20240407223225下载 (1).jpg', '45', '34');
|
|
|
INSERT INTO `mall_goods` VALUES (73, ' 东坡肉200g', 'Y', '三珍斋 东坡肉200g+狮子头400g方便速食即食下酒菜预制菜中华老字号', '东坡肉,一道源自北宋著名文学家苏轼(又称东坡先生)的著名菜肴,以其独特的制作工艺和丰富的文化内涵而闻名。12\n东坡肉的起源有多个版本,其中最为人熟知的是苏轼在徐州任知州期间,因抗洪救灾而得名的故事。当时,徐州人民为了感谢苏轼的领导和援助,送上猪肉等礼物。苏轼将肉切成方块,烹制成红烧肉分送给参与抗洪的民众,这种肉因此被称为“东坡肉”。\n东坡肉的制作过程相对复杂,主要原料是半肥半瘦的猪肉,通过煮、炖、蒸等多道工序制作而成。其特点是色泽红亮、肉质酥烂、肥而不腻、入口即化。在制作过程中,通常会加入冰糖、花雕酒、酱油、蚝油等多种调味料,以增加肉的风味和色泽。东坡肉的独特之处在于其独特的烹饪方法和调料搭配,使得肉质鲜美且入味。\n东坡肉不仅是一道美食,更是苏轼文化和历史的象征。它体现了苏轼对生活的热爱、对美食的追求,以及他在逆境中的豁达乐观态度。', '品牌: 三珍斋\n商品名称:三珍斋三珍斋 东坡肉200g+狮子头400g 商品编号:100019362924商品毛重:0.76kg商品产地:中国浙江包装形式:袋装口味:红烧味食用方法:加热即食总净含量:501-750g', '23克', 'http://127.0.0.1:8000/static/uploads/20240407223517下载 (2).jpg', '56', '34');
|
|
|
INSERT INTO `mall_goods` VALUES (74, '北京烤鸭 特产', 'Y', '全聚德 北京烤鸭 特产 烤鸭套装含饼酱1180g 中华老字号礼品熟食腊味', '北京烤鸭是具有世界声誉的北京著名菜肴,起源于中国南北朝时期,当时已作为宫廷名菜出现。其制作工艺经过数百年的发展,已成为独具特色的美食。北京烤鸭主要分为两大流派,代表北京最著名的烤鸭店。12\n北京烤鸭的制作过程非常讲究,首先选用优质的北京填鸭,经过多次清洗和处理后,挂在特制的烤炉中,用果木炭火烤制。烤制过程中,火候和位置的调整至关重要,直接影响鸭子的口感和品质。烤鸭的特色是皮脆肉嫩、色泽红润、肉质细嫩、味道鲜美且肥而不腻,享有“天下美味”的美誉。\n吃北京烤鸭也是一种独特的饮食体验。通常会将烤鸭切成薄片,配以葱丝、黄瓜丝、甜面酱等调料,用饼皮包裹起来食用,这种吃法不仅保留了烤鸭原有的口感,而且增加了饮食的情趣。\n北京烤鸭不仅是一道美味的菜肴,更是中国餐饮文化的一块瑰宝,与中国传统文化紧密相连,代表着北京的历史和文化传统。它的制作技艺已被列为国家级非物质文化遗产,是对中华饮食文化的传承和发扬。\n总之,北京烤鸭以其独特的制作工艺、美味的口感以及丰富的文化内涵而广受好评,是中华美食的代表之一,品尝正宗的北京烤鸭是一次独特的文化体验。', '品牌: 全聚德\n商品名称:全聚德烤鸭商品编号:100011662742商品毛重:1.53kg商品产地:北京通州类别:鸭肉包装形式:袋装口味:五香味食用方法:加热即食总净含量:751g-1.5kg', '56克', 'http://127.0.0.1:8000/static/uploads/20240407223722下载 (3).jpg', '35', '23');
|
|
|
INSERT INTO `mall_goods` VALUES (75, '麻婆豆腐', 'Y', '好人家 川菜麻婆豆腐调料80g 四川陈麻婆豆腐酱料调味料烧豆腐调料 麻婆豆腐80g', '麻婆豆腐是四川地区传统名菜之一,属于川菜,这道菜的主料是豆腐,辅料包括蒜苗、牛肉末(也可以使用其他肉类),调料则有豆瓣酱、辣椒面、花椒面、酱油、生抽、老抽、糖、淀粉等。其独特的风味来自于花椒和辣椒的使用,其中“麻”主要来自花椒,“辣”则主要来自辣椒。12\n麻婆豆腐的起源有多个版本,但最为人接受的故事是,这道菜由清朝同治元年(1862年)成都北郊万福桥附近的“陈兴盛饭铺”的老板娘陈刘氏所创。陈刘氏因其面部有麻点,被称为“陈麻婆”,她制作的烧豆腐因此被称为“陈麻婆豆腐”。这道菜以其独特的麻辣风味、鲜嫩的口感和丰富的文化内涵而闻名,成为了四川省乃至中国的一道代表性菜品。12\n随着时间的推移,“麻婆豆腐”不仅在中国广受欢迎,还传播到了美国、加拿大、英国、法国、越南、新加坡、马来西亚、日本、澳大利亚等国家,成为了一道国际知名的菜品。此外,“麻婆豆腐”在2018年被评为“中国菜”四川十大经典名菜之一。12', '品牌: 好人家\n商品名称:好人家 川菜麻婆豆腐调料80g 四川陈麻婆豆腐酱料调味料烧豆腐调料 麻婆豆腐80g商品编号:1082593201店铺: 好人家官方旗舰店商品毛重:92.00g商品产地:中国大陆货号:060829类别:组合调味料,腌制料,炒制料,炖煮料烹饪建议:炒菜,焖炖,烧烤调料类型:麻婆豆腐调料包装形式:袋装总净含量:<100g(mL)国产/进口:国产', '23克', 'http://127.0.0.1:8000/static/uploads/20240407223935u=4232337231,2387234431&fm=253&fmt=auto&app=138&f=JPEG.webp', '34', '23');
|
|
|
INSERT INTO `mall_goods` VALUES (76, '广东白切鸡', 'Y', '温氏 供港鲜熟白切鸡900g 冷冻高品质农家散养土鸡白斩鸡熟食肉类', '广东白切鸡,也称为白斩鸡,是一道具有悠久历史的中华民族特色菜肴,起源于广东,是粤菜中的经典之作。这道菜以新鲜鸡肉为主要原料,通过简单的烹饪技巧展现其独特风味。白切鸡的制作过程主要分为三步:12\n将鸡肉冲洗干净后,用姜片和葱等香料煮制,直至鸡肉煮熟。\n将煮熟的鸡肉取出放凉。\n将鸡肉切成薄片,搭配特制的酱料和调料食用。\n白切鸡的特点是肉质鲜嫩、皮黄肉白,搭配葱油、姜蓉、蒜泥和酱油等调料食用,保持了鸡肉的原汁原味和鲜美口感。这道菜不仅美味,还富含优质蛋白质、脂肪、维生素和矿物质,易于消化吸收,对增强体力和免疫力有良好效果。\n此外,白切鸡的制作并不复杂,只需稍加学习就能轻松掌握,是广东人家宴和节日不可或缺的一道佳肴。', '品牌: 温氏\n商品名称:温氏供港鲜熟白切鸡商品编号:3689993商品毛重:1.13kg商品产地:广东省云浮市类别:整鸡总净含量:500-999g贮存条件:冷冻', '67克', 'http://127.0.0.1:8000/static/uploads/20240407224158下载 (4).jpg', '56', '45');
|
|
|
INSERT INTO `mall_goods` VALUES (77, '剁椒鱼头', 'Y', '御膳味 剁椒鱼头酱220克湖南特产剁辣椒酱下饭拌饭拌面红剁椒鱼头调料', '湖南剁椒鱼头是一道具有浓郁地方特色的湘菜,以其独特的口感和丰富的文化内涵而闻名。以下是关于这道菜的详细介绍:\n主料与制作过程:\n主要使用鲢鱼头作为原料,经过分割、腌制、蒸制等多道工序。\n在蒸制过程中,鱼头会加入剁椒酱等调味料,以增加风味。\n制作时,先将腌制好的鱼头用大火蒸约十五分钟,然后取出撒上葱花、姜末等调味料。\n最后,将食用油、蒜末、姜末、豆瓣酱等调料煸炒出香味,加入剁椒酱和适量清水,翻炒均匀后浇在鱼头上。', '品牌: 御膳味\n商品名称:御膳味剁椒鱼头酱220克商品编号:100026076230商品毛重:440.00g商品产地:中国大陆类别:蒜蓉辣椒酱烹饪建议:凉拌,烧烤,蒸煮口味:香辣味包装形式:玻璃瓶装总净含量:100-499g(mL)国产/进口:国产', '56克', 'http://127.0.0.1:8000/static/uploads/20240407224419下载 (5).jpg', '67', '45');
|
|
|
INSERT INTO `mall_goods` VALUES (78, '狮子头', 'Y', '狮子头正宗南京特产美食狮子头正宗南京特产美食狮子头正宗南京特产美食', '狮子头正宗南京特产美食狮子头正宗南京特产美食狮子头正宗南京特产美食狮子头正宗南京特产美食狮子头正宗南京特产美食狮子头正宗南京特产美食狮子头正宗南京特产美食狮子头正宗南京特产美食狮子头正宗南京特产美食狮子头正宗南京特产美食狮子头正宗南京特产美食狮子头正宗南京特产美食狮子头正宗南京特产美食狮子头正宗南京特产美食狮子头正宗南京特产美食狮子头正宗南京特产美食狮子头正宗南京特产美食狮子头正宗南京特产美食狮子头正宗南京特产美食狮子头正宗南京特产美食狮子头正宗南京特产美食', '狮子头正宗南京特产美食狮子头正宗南京特产美食狮子头正宗南京特产美食狮子头正宗南京特产美食狮子头正宗南京特产美食狮子头正宗南京特产美食狮子头正宗南京特产美食狮子头正宗南京特产美食狮子头正宗南京特产美食狮子头正宗南京特产美食狮子头正宗南京特产美食狮子头正宗南京特产美食狮子头正宗南京特产美食狮子头正宗南京特产美食狮子头正宗南京特产美食狮子头正宗南京特产美食狮子头正宗南京特产美食狮子头正宗南京特产美食', '67克', 'http://127.0.0.1:8000/static/uploads/20240407230148下载 (6).jpg', '78', '56');
|
|
|
|
|
|
-- ----------------------------
|
|
|
-- Table structure for mall_order
|
|
|
-- ----------------------------
|
|
|
DROP TABLE IF EXISTS `mall_order`;
|
|
|
CREATE TABLE `mall_order` (
|
|
|
`id` int(11) NOT NULL AUTO_INCREMENT,
|
|
|
`code` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL,
|
|
|
`status` varchar(1) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL,
|
|
|
`date` varchar(20) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL,
|
|
|
`price` varchar(10) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL,
|
|
|
`user_id` varchar(30) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL,
|
|
|
`addr_id` varchar(30) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL,
|
|
|
PRIMARY KEY (`id`) USING BTREE
|
|
|
) ENGINE = InnoDB AUTO_INCREMENT = 15 CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = Dynamic;
|
|
|
|
|
|
-- ----------------------------
|
|
|
-- Records of mall_order
|
|
|
-- ----------------------------
|
|
|
INSERT INTO `mall_order` VALUES (14, '420240407225913', '3', '2024-04-07 22:59:13', '57', '4', '14');
|
|
|
INSERT INTO `mall_order` VALUES (15, '420240424072510', '1', '2024-04-24 07:25:10', '79', '4', '14');
|
|
|
INSERT INTO `mall_order` VALUES (16, '420240424074445', '1', '2024-04-24 07:44:45', '23', '4', '14');
|
|
|
INSERT INTO `mall_order` VALUES (17, '420240424074445', '4', '2024-04-24 07:44:45', '23', '4', '14');
|
|
|
INSERT INTO `mall_order` VALUES (18, '420240424081757', '1', '2024-04-24 08:17:57', '102', '4', '14');
|
|
|
INSERT INTO `mall_order` VALUES (19, '420240424081757', '1', '2024-04-24 08:17:57', '69', '4', '14');
|
|
|
INSERT INTO `mall_order` VALUES (20, '420240424081757', '1', '2024-04-24 08:17:57', '56', '4', '14');
|
|
|
INSERT INTO `mall_order` VALUES (21, '420240424081757', '1', '2024-04-24 08:17:57', '68', '4', '14');
|
|
|
INSERT INTO `mall_order` VALUES (22, '420240424082146', '1', '2024-04-24 08:21:46', '102', '4', '14');
|
|
|
|
|
|
-- ----------------------------
|
|
|
-- Table structure for mall_order_goods
|
|
|
-- ----------------------------
|
|
|
DROP TABLE IF EXISTS `mall_order_goods`;
|
|
|
CREATE TABLE `mall_order_goods` (
|
|
|
`id` int(11) NOT NULL AUTO_INCREMENT,
|
|
|
`order_id` varchar(30) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL,
|
|
|
`goods_id` varchar(30) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL,
|
|
|
`num` varchar(10) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL,
|
|
|
PRIMARY KEY (`id`) USING BTREE
|
|
|
) ENGINE = InnoDB AUTO_INCREMENT = 25 CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = Dynamic;
|
|
|
|
|
|
-- ----------------------------
|
|
|
-- Records of mall_order_goods
|
|
|
-- ----------------------------
|
|
|
INSERT INTO `mall_order_goods` VALUES (23, '14', '73', '1');
|
|
|
INSERT INTO `mall_order_goods` VALUES (24, '14', '74', '1');
|
|
|
INSERT INTO `mall_order_goods` VALUES (25, '15', '72', '1');
|
|
|
INSERT INTO `mall_order_goods` VALUES (26, '15', '77', '1');
|
|
|
INSERT INTO `mall_order_goods` VALUES (27, '16', '70', '1');
|
|
|
INSERT INTO `mall_order_goods` VALUES (28, '17', '75', '1');
|
|
|
INSERT INTO `mall_order_goods` VALUES (29, '18', '73', '3');
|
|
|
INSERT INTO `mall_order_goods` VALUES (30, '19', '74', '3');
|
|
|
INSERT INTO `mall_order_goods` VALUES (31, '20', '78', '1');
|
|
|
INSERT INTO `mall_order_goods` VALUES (32, '21', '72', '2');
|
|
|
INSERT INTO `mall_order_goods` VALUES (33, '22', '73', '3');
|
|
|
|
|
|
-- ----------------------------
|
|
|
-- Table structure for mall_user
|
|
|
-- ----------------------------
|
|
|
DROP TABLE IF EXISTS `mall_user`;
|
|
|
CREATE TABLE `mall_user` (
|
|
|
`id` int(11) NOT NULL AUTO_INCREMENT,
|
|
|
`nickname` varchar(30) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
|
|
|
`name` varchar(20) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
|
|
|
`date` varchar(20) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
|
|
|
`sex` varchar(1) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
|
|
|
`email` varchar(20) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
|
|
|
`qq` varchar(15) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
|
|
|
`phone` varchar(11) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL,
|
|
|
`password` varchar(30) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL,
|
|
|
PRIMARY KEY (`id`) USING BTREE,
|
|
|
UNIQUE INDEX `mall_user_phone_241de97f_uniq`(`phone`) USING BTREE
|
|
|
) ENGINE = InnoDB AUTO_INCREMENT = 5 CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = Dynamic;
|
|
|
|
|
|
-- ----------------------------
|
|
|
-- Records of mall_user
|
|
|
-- ----------------------------
|
|
|
INSERT INTO `mall_user` VALUES (1, '烧包2.0', '王建国', '2000-09-09', '1', '44@qq.com', '44', '444444', '123');
|
|
|
INSERT INTO `mall_user` VALUES (2, '杉本', '宋老二', '906-05-05', '2', '234@qq.com', '4321', '9999999999', '1');
|
|
|
INSERT INTO `mall_user` VALUES (3, '小七', '王老七', '2000-09-09', '1', '12@qq.com', '12', '777777', '123');
|
|
|
INSERT INTO `mall_user` VALUES (4, '呜呜呜', '吴用', '908-09-07', '1', '123@qq.com', '123', '555555', '123');
|
|
|
|
|
|
SET FOREIGN_KEY_CHECKS = 1;
|