mirror of
https://github.com/dani-garcia/vaultwarden.git
synced 2025-12-10 17:23:04 +03:00
[PR #4971] [MERGED] Fix Device Type column for 2FA migration #2675
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/dani-garcia/vaultwarden/pull/4971
Author: @BlackDex
Created: 9/20/2024
Status: ✅ Merged
Merged: 9/20/2024
Merged by: @dani-garcia
Base:
main← Head:fix-2fa-sql-migration📝 Commits (1)
d0e1b08Fix Device Type column for 2FA migration📊 Changes
5 files changed (+73 additions, -96 deletions)
View changed files
📝
Cargo.lock(+67 -90)📝
Cargo.toml(+3 -3)📝
migrations/mysql/2024-09-04-091351_use_device_type_for_mails/up.sql(+1 -1)📝
migrations/postgresql/2024-09-04-091351_use_device_type_for_mails/up.sql(+1 -1)📝
migrations/sqlite/2024-09-04-091351_use_device_type_for_mails/up.sql(+1 -1)📄 Description
The migration can still fail because there is no default set. If the table contains values it will fail because there is no default set. Also removed all the backticks, they only causes issues
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.