2021-10-25 10:36:05 +02:00
|
|
|
CREATE TABLE twofactor_incomplete (
|
|
|
|
user_uuid VARCHAR(40) NOT NULL REFERENCES users(uuid),
|
|
|
|
device_uuid VARCHAR(40) NOT NULL,
|
|
|
|
device_name TEXT NOT NULL,
|
2021-11-01 01:50:00 +01:00
|
|
|
login_time TIMESTAMP NOT NULL,
|
2021-10-25 10:36:05 +02:00
|
|
|
ip_address TEXT NOT NULL,
|
|
|
|
|
|
|
|
PRIMARY KEY (user_uuid, device_uuid)
|
|
|
|
);
|