包含:登录失败锁定、90天密码有效期、30分钟会话超时、 强制改密、登录审计日志、屏幕水印、企业背景图、 备案信息固定底部、favicon、登录页JS修复等全部改动
This commit is contained in:
@@ -0,0 +1,20 @@
|
||||
-- Add columns to allow registration and a participants table
|
||||
|
||||
ALTER TABLE %DB_TBL_PREFIX%entry
|
||||
ADD COLUMN allow_registration tinyint DEFAULT 0 NOT NULL,
|
||||
ADD COLUMN enable_registrant_limit tinyint DEFAULT 1 NOT NULL,
|
||||
ADD COLUMN registrant_limit int DEFAULT 0 NOT NULL;
|
||||
|
||||
|
||||
CREATE TABLE %DB_TBL_PREFIX%participants
|
||||
(
|
||||
entry_id int NOT NULL,
|
||||
username varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci,
|
||||
registered int,
|
||||
|
||||
UNIQUE KEY uq_entryid_username (entry_id, username),
|
||||
FOREIGN KEY (entry_id)
|
||||
REFERENCES %DB_TBL_PREFIX%entry(id)
|
||||
ON UPDATE CASCADE
|
||||
ON DELETE CASCADE
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
|
||||
@@ -0,0 +1,19 @@
|
||||
-- Add columns to allow registration and a participants table
|
||||
|
||||
ALTER TABLE %DB_TBL_PREFIX%entry
|
||||
ADD COLUMN allow_registration smallint DEFAULT 0 NOT NULL,
|
||||
ADD COLUMN enable_registrant_limit smallint DEFAULT 1 NOT NULL,
|
||||
ADD COLUMN registrant_limit int DEFAULT 0 NOT NULL;
|
||||
|
||||
|
||||
CREATE TABLE %DB_TBL_PREFIX%participants
|
||||
(
|
||||
entry_id int NOT NULL
|
||||
REFERENCES %DB_TBL_PREFIX%entry(id)
|
||||
ON UPDATE CASCADE
|
||||
ON DELETE CASCADE,
|
||||
username varchar(191),
|
||||
registered int,
|
||||
|
||||
CONSTRAINT "%DB_TBL_PREFIX_SHORT%uq_entryid_username" UNIQUE (entry_id, username)
|
||||
);
|
||||
Reference in New Issue
Block a user