sql: 密码不允许使用最近修改的密码数据参数

This commit is contained in:
TsMask
2025-03-31 18:42:26 +08:00
parent 46b66cda5b
commit a430466ccb
6 changed files with 52 additions and 1 deletions

View File

@@ -0,0 +1,27 @@
-- ----------------------------
-- Table structure for sys_log_user_password
-- ----------------------------
DROP TABLE IF EXISTS "sys_log_user_password";
CREATE TABLE "sys_log_user_password" (
"id" integer NOT NULL,
"user_id" integer,
"user_name" text(32),
"password" text(128),
"create_by" text(64),
"create_time" integer,
PRIMARY KEY ("id")
);
-- ----------------------------
-- Indexes structure for table sys_log_user_password
-- ----------------------------
CREATE INDEX "idx_id_name_time"
ON "sys_log_user_password" (
"user_id" ASC,
"user_name" ASC,
"create_time" ASC
);
-- ----------------------------
-- Records of sys_log_user_password
-- ----------------------------