mirror of
https://github.com/ViViDboarder/bitwarden_rs.git
synced 2024-11-01 10:56:39 +00:00
8 lines
170 B
MySQL
8 lines
170 B
MySQL
|
UPDATE users
|
||
|
SET totp_secret = (
|
||
|
SELECT twofactor.data FROM twofactor
|
||
|
WHERE twofactor.type = 0
|
||
|
AND twofactor.user_uuid = users.uuid
|
||
|
);
|
||
|
|
||
|
DROP TABLE twofactor;
|