/*
Navicat MySQL Data Transfer

Source Server         : codecat
Source Server Version : 80023
Source Host           : localhost:3306
Source Database       : eatwhat

Target Server Type    : MYSQL
Target Server Version : 80023
File Encoding         : 65001

Date: 2022-06-12 22:16:30
*/

SET FOREIGN_KEY_CHECKS=0;

-- ----------------------------
-- Table structure for `ingre_table`
-- ----------------------------
DROP TABLE IF EXISTS `ingre_table`;
CREATE TABLE `ingre_table` (
  `ingreName` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL,
  `ingreId` int NOT NULL AUTO_INCREMENT,
  `ingreAdd` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL,
  `ingreAttr` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  `ingrePut` varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  `ingrePrice` double unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`ingreId`) USING BTREE
) ENGINE=InnoDB AUTO_INCREMENT=6 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci ROW_FORMAT=DYNAMIC;

-- ----------------------------
-- Records of ingre_table
-- ----------------------------
INSERT INTO `ingre_table` VALUES ('西红柿', '0', '内蒙古', null, null, '1.5');
INSERT INTO `ingre_table` VALUES ('鸡蛋', '1', '内蒙古', null, null, '5.36');
INSERT INTO `ingre_table` VALUES ('土豆', '3', '内蒙古', null, null, '0');

-- ----------------------------
-- Table structure for `menu_table`
-- ----------------------------
DROP TABLE IF EXISTS `menu_table`;
CREATE TABLE `menu_table` (
  `menuName` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL,
  `menuId` int NOT NULL AUTO_INCREMENT,
  `menuEle` varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL,
  `menuTaste` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL,
  `menuCuis` varchar(20) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  `menuBrief` varchar(300) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT 'No profile',
  `menuLevel` int NOT NULL,
  `menuPut` varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  `menuPrice` double NOT NULL DEFAULT '0',
  PRIMARY KEY (`menuId`) USING BTREE
) ENGINE=InnoDB AUTO_INCREMENT=3 DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC;

-- ----------------------------
-- Records of menu_table
-- ----------------------------
INSERT INTO `menu_table` VALUES ('西红柿炒鸡蛋', '1', '鸡蛋，西红柿', '香', '不知道', 'No profile', '1', null, '0');
INSERT INTO `menu_table` VALUES ('西红柿炒鸡蛋最终版', '2', '鸡蛋，西红柿', '超级香', '不知道', '香！！！', '5', null, '8.575');

-- ----------------------------
-- Table structure for `user_table`
-- ----------------------------
DROP TABLE IF EXISTS `user_table`;
CREATE TABLE `user_table` (
  `userId` char(11) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL,
  `userPwd` int NOT NULL,
  `userName` varchar(4) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  `userNumb` char(11) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL,
  `userLike` varchar(20) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  `userAdd` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  `userGend` varchar(2) CHARACTER SET utf8 COLLATE utf8_general_ci 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 ('15633894888', '123456', '皮卡丘', '15633894888', '辣', '内蒙古', '男');
INSERT INTO `user_table` VALUES ('15899996666', '321654', null, '15899996666', null, null, null);
