1
0
Fork 1
Spiegel von https://github.com/dani-garcia/vaultwarden.git synchronisiert 2024-11-22 05:10:29 +01:00
vaultwarden/migrations/sqlite/2018-07-11-181453_create_u2f_twofactor/down.sql
2019-05-26 23:03:05 +02:00

8 Zeilen
Kein EOL
170 B
SQL

UPDATE users
SET totp_secret = (
SELECT twofactor.data FROM twofactor
WHERE twofactor.type = 0
AND twofactor.user_uuid = users.uuid
);
DROP TABLE twofactor;