HS 2.0: Update server SQL DB initialization to cover new fields

Signed-off-by: Jouni Malinen <jouni@codeaurora.org>
This commit is contained in:
Jouni Malinen 2018-04-30 17:45:13 +03:00 committed by Jouni Malinen
parent 5bd5eb54d1
commit 42f4169166

View file

@ -50,10 +50,24 @@ CREATE TABLE users(
osu_password TEXT, osu_password TEXT,
shared INTEGER, shared INTEGER,
cert TEXT, cert TEXT,
cert_pem TEXT cert_pem TEXT,
t_c_timestamp INTEGER
); );
CREATE TABLE wildcards( CREATE TABLE wildcards(
identity TEXT PRIMARY KEY, identity TEXT PRIMARY KEY,
methods TEXT methods TEXT
); );
CREATE TABLE authlog(
timestamp TEXT,
session TEXT,
nas_ip TEXT,
username TEXT,
note TEXT
);
CREATE TABLE pending_tc(
mac_addr TEXT PRIMARY KEY,
identity TEXT
);