Spiegel von
https://github.com/dani-garcia/vaultwarden.git
synchronisiert 2024-11-24 05:30:28 +01:00
Fix PostgreSQL migration
The PostgreSQL migration should have used `TIMESTAMP` rather than `DATETIME`.
Dieser Commit ist enthalten in:
Ursprung
a2316ca091
Commit
c49ee47de0
1 geänderte Dateien mit 1 neuen und 1 gelöschten Zeilen
|
@ -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)
|
||||||
|
|
Laden …
In neuem Issue referenzieren