mirror of
https://github.com/dani-garcia/vaultwarden
synced 2024-12-14 17:43:46 +01:00
Merge pull request #2080 from jjlin/fix-postgres-migration
Fix PostgreSQL migration
This commit is contained in:
commit
6ae48aa8c2
1 changed files with 1 additions and 1 deletions
|
@ -2,7 +2,7 @@ CREATE TABLE twofactor_incomplete (
|
||||||
user_uuid VARCHAR(40) NOT NULL REFERENCES users(uuid),
|
user_uuid VARCHAR(40) NOT NULL REFERENCES users(uuid),
|
||||||
device_uuid VARCHAR(40) NOT NULL,
|
device_uuid VARCHAR(40) NOT NULL,
|
||||||
device_name TEXT NOT NULL,
|
device_name TEXT NOT NULL,
|
||||||
login_time DATETIME NOT NULL,
|
login_time TIMESTAMP NOT NULL,
|
||||||
ip_address TEXT NOT NULL,
|
ip_address TEXT NOT NULL,
|
||||||
|
|
||||||
PRIMARY KEY (user_uuid, device_uuid)
|
PRIMARY KEY (user_uuid, device_uuid)
|
||||||
|
|
Loading…
Reference in a new issue