1
0
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:
Simon Josefsson 2009-11-25 10:37:37 +00:00
parent 122a4e9304
commit 02eb647a3e

View File

@ -28,6 +28,15 @@ CREATE TABLE yubikeys (
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';
CREATE USER 'ykval_verifier'@'localhost';
GRANT SELECT,INSERT,UPDATE(accessed, counter, low, high, sessionUse)