sql: 密码不允许使用最近修改的密码数据参数
This commit is contained in:
17
build/database/std/install/sys_log_user_password.sql
Normal file
17
build/database/std/install/sys_log_user_password.sql
Normal file
@@ -0,0 +1,17 @@
|
||||
--
|
||||
-- Table structure for table `sys_log_user_password`
|
||||
--
|
||||
|
||||
DROP TABLE IF EXISTS `sys_log_user_password`;
|
||||
CREATE TABLE `sys_log_user_password` (
|
||||
`id` bigint NOT NULL AUTO_INCREMENT COMMENT 'ID',
|
||||
`user_id` bigint DEFAULT '0' COMMENT '用户ID',
|
||||
`user_name` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '用户账号',
|
||||
`password` varchar(128) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '密码',
|
||||
`create_by` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '创建者',
|
||||
`create_time` bigint DEFAULT '0' COMMENT '创建时间',
|
||||
PRIMARY KEY (`id`) USING BTREE,
|
||||
KEY `idx_id_name_time` (`user_id`,`user_name`,`create_time`) USING BTREE COMMENT '用户ID_用户名_创建时间'
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci ROW_FORMAT=DYNAMIC COMMENT='系统_用户密码变更日志表';
|
||||
|
||||
-- Dump completed on 2025-03-31 17:24:56
|
||||
Reference in New Issue
Block a user