mirror of
https://gitee.com/coder-xiaomo/flashsale
synced 2025-09-10 14:01:39 +08:00
添加用户注册功能;Encrpt修改为Encrypt;添加填充测试数据
This commit is contained in:
@@ -11,7 +11,7 @@
|
||||
Target Server Version : 50726
|
||||
File Encoding : 65001
|
||||
|
||||
Date: 01/03/2022 17:01:05
|
||||
Date: 02/03/2022 10:30:12
|
||||
*/
|
||||
|
||||
SET NAMES utf8mb4;
|
||||
@@ -42,13 +42,13 @@ INSERT INTO `user_info` VALUES (1, 'admin', 2, 18, '110', 'phone', '');
|
||||
-- ----------------------------
|
||||
DROP TABLE IF EXISTS `user_password`;
|
||||
CREATE TABLE `user_password` (
|
||||
`id` int(11) NOT NULL,
|
||||
`encrpt_password` varchar(128) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '',
|
||||
`id` int(11) NOT NULL AUTO_INCREMENT,
|
||||
`encrypt_password` varchar(128) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '',
|
||||
`user_id` int(11) NOT NULL DEFAULT 0,
|
||||
PRIMARY KEY (`id`) USING BTREE,
|
||||
INDEX `user_id`(`user_id`) USING BTREE,
|
||||
CONSTRAINT `user_password_ibfk_1` FOREIGN KEY (`user_id`) REFERENCES `user_info` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT
|
||||
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci ROW_FORMAT = Dynamic;
|
||||
) ENGINE = InnoDB AUTO_INCREMENT = 2 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci ROW_FORMAT = Dynamic;
|
||||
|
||||
-- ----------------------------
|
||||
-- Records of user_password
|
||||
|
Reference in New Issue
Block a user