1
0
Fork 1
Spiegel von https://github.com/dani-garcia/vaultwarden.git synchronisiert 2024-11-26 05:50:29 +01:00

Merge pull request #2080 from jjlin/fix-postgres-migration

Fix PostgreSQL migration
Dieser Commit ist enthalten in:
Daniel García 2021-11-01 14:33:47 +01:00 committet von GitHub
Commit 6ae48aa8c2
Es konnte kein GPG-Schlüssel zu dieser Signatur gefunden werden
GPG-Schlüssel-ID: 4AEE18F83AFDEB23

Datei anzeigen

@ -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)