You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

81 lines
3.0 KiB

/*
Navicat MySQL Data Transfer
Source Server : eatwhat
Source Server Version : 50562
Source Host : 121.37.102.50:3306
Source Database : mydb
Target Server Type : MYSQL
Target Server Version : 50562
File Encoding : 65001
Date: 2022-06-18 22:38:02
*/
SET FOREIGN_KEY_CHECKS=0;
-- ----------------------------
-- Table structure for `ingre_table`
-- ----------------------------
DROP TABLE IF EXISTS `ingre_table`;
CREATE TABLE `ingre_table` (
`ingreName` varchar(50) NOT NULL,
`ingreId` varchar(11) NOT NULL,
`ingreAdd` varchar(50) NOT NULL,
`ingreAttr` varchar(50) DEFAULT NULL,
`ingrePut` varchar(255) DEFAULT NULL,
`ingrePrice` double(10,0) NOT NULL,
PRIMARY KEY (`ingreId`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- ----------------------------
-- Records of ingre_table
-- ----------------------------
-- ----------------------------
-- Table structure for `menu_table`
-- ----------------------------
DROP TABLE IF EXISTS `menu_table`;
CREATE TABLE `menu_table` (
`menuName` varchar(50) NOT NULL,
`menuId` varchar(11) NOT NULL,
`menuEle` varchar(100) NOT NULL,
`menuTaste` varchar(50) NOT NULL,
`menuCuis` varchar(20) DEFAULT NULL,
`menuBrief` varchar(255) DEFAULT 'No profile',
`menuLevel` int(11) NOT NULL,
`menuPut` varchar(255) DEFAULT NULL,
`menuPrice` double(7,0) NOT NULL DEFAULT '0',
PRIMARY KEY (`menuId`) USING BTREE
) ENGINE=InnoDB DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC;
-- ----------------------------
-- Records of menu_table
-- ----------------------------
INSERT INTO `menu_table` VALUES ('蛋炒饭', '0d1ea9e-3', '米饭|鸡蛋|火腿肠', '', '蛋炒饭菜系', '我就是蛋炒饭哦', '5', 'http://localhost:3006/static/imgs_menu/2307d3fc3d117fc1f2436e900.png', '20');
INSERT INTO `menu_table` VALUES ('西红柿炒鸡蛋最终版', '2', '鸡蛋|西红柿', '超级香', '不知道', '香!!!', '5', null, '9');
-- ----------------------------
-- Table structure for `user_table`
-- ----------------------------
DROP TABLE IF EXISTS `user_table`;
CREATE TABLE `user_table` (
`userId` varchar(255) NOT NULL,
`userPwd` varchar(13) NOT NULL,
`userName` varchar(10) DEFAULT NULL,
`userNumb` char(11) NOT NULL,
`userLike` varchar(40) DEFAULT NULL,
`userAdd` varchar(50) DEFAULT NULL,
`userGend` varchar(2) DEFAULT NULL,
PRIMARY KEY (`userId`),
UNIQUE KEY `userNumb` (`userNumb`) USING BTREE
) ENGINE=InnoDB DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC;
-- ----------------------------
-- Records of user_table
-- ----------------------------
INSERT INTO `user_table` VALUES ('15899996666', '123456', '李宝', '15899996666', '甜食', '山西省/长治市/长治县', '');
INSERT INTO `user_table` VALUES ('1d57905f-6cfc-4b49-8c04-692ee6829a3b', '123456', 'Shuaib', '15024930879', '甜食', '内蒙古自治区/呼和浩特市/玉泉区', '');
INSERT INTO `user_table` VALUES ('b5f3fdde-7e48-44e7-8443-e7452442df39', '2631667689zyx', '李大宝', '15024930878', '你猜', '山西省/阳泉市/郊区', '');