1
0
Fork 0
mirror of https://github.com/dani-garcia/vaultwarden.git synced 2025-06-15 15:20:07 +00:00

Fix Device Type column for 2FA migration (#4971)

This commit is contained in:
Mathijs van Veluw 2024-09-20 12:06:06 +02:00 committed by GitHub
parent 0bd8f607cb
commit de01111082
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 73 additions and 96 deletions

View file

@ -1 +1 @@
ALTER TABLE twofactor_incomplete ADD COLUMN device_type INTEGER NOT NULL;
ALTER TABLE twofactor_incomplete ADD COLUMN device_type INTEGER NOT NULL DEFAULT 14; -- 14 = Unknown Browser