mirror of
https://github.com/dani-garcia/vaultwarden.git
synced 2024-11-24 22:05:41 +03:00
c49ee47de0
The PostgreSQL migration should have used `TIMESTAMP` rather than `DATETIME`.
9 lines
282 B
SQL
9 lines
282 B
SQL
CREATE TABLE twofactor_incomplete (
|
|
user_uuid VARCHAR(40) NOT NULL REFERENCES users(uuid),
|
|
device_uuid VARCHAR(40) NOT NULL,
|
|
device_name TEXT NOT NULL,
|
|
login_time TIMESTAMP NOT NULL,
|
|
ip_address TEXT NOT NULL,
|
|
|
|
PRIMARY KEY (user_uuid, device_uuid)
|
|
);
|