11 lines
280 B
SQL
11 lines
280 B
SQL
create table if not exists totp_login_requests
|
|
(
|
|
-- info
|
|
token TEXT not null primary key,
|
|
user TEXT not null references users (id),
|
|
|
|
-- timings
|
|
created_at TEXT not null default CURRENT_TIMESTAMP,
|
|
expires_at TEXT not null,
|
|
used_at TEXT
|
|
);
|