sql: 密码不允许使用最近修改的密码数据参数
This commit is contained in:
27
build/database/lite/install/sys_log_user_password.sql
Normal file
27
build/database/lite/install/sys_log_user_password.sql
Normal 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
|
||||
-- ----------------------------
|
||||
Reference in New Issue
Block a user