mirror of
https://github.com/Yubico/yubikey-val.git
synced 2025-01-20 10:52:15 +01:00
Add queue table.
This commit is contained in:
parent
122a4e9304
commit
02eb647a3e
@ -28,6 +28,15 @@ CREATE TABLE yubikeys (
|
|||||||
PRIMARY KEY (id)
|
PRIMARY KEY (id)
|
||||||
);
|
);
|
||||||
|
|
||||||
|
CREATE TABLE queue (
|
||||||
|
id INT NOT NULL UNIQUE AUTO_INCREMENT,
|
||||||
|
added DATETIME DEFAULT NOW(),
|
||||||
|
server VARCHAR(100) NOT NULL,
|
||||||
|
info VARCHAR(100) NOT NULL,
|
||||||
|
otp VARCHAR(100) NOT NULL,
|
||||||
|
PRIMARY KEY (id)
|
||||||
|
);
|
||||||
|
|
||||||
-- DROP USER 'ykval_verifier'@'localhost';
|
-- DROP USER 'ykval_verifier'@'localhost';
|
||||||
CREATE USER 'ykval_verifier'@'localhost';
|
CREATE USER 'ykval_verifier'@'localhost';
|
||||||
GRANT SELECT,INSERT,UPDATE(accessed, counter, low, high, sessionUse)
|
GRANT SELECT,INSERT,UPDATE(accessed, counter, low, high, sessionUse)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user