diff options
author | Daniel <[email protected]> | 2024-09-18 20:03:15 +0300 |
---|---|---|
committer | GitHub <[email protected]> | 2024-09-18 19:03:15 +0200 |
commit | 21efc0800ddfc4378a541c6d507a1cd481496575 (patch) | |
tree | a46767b5630f6ec794d864f0717789b64de7db16 /migrations/mysql | |
parent | 1031c2e2863414ff7a1bedb33f458ebed19859bf (diff) | |
download | vaultwarden-21efc0800ddfc4378a541c6d507a1cd481496575.tar.gz vaultwarden-21efc0800ddfc4378a541c6d507a1cd481496575.zip |
Actually use Device Type for mails (#4916)
- match Bitwarden behaviour
- add a different segment in mails for Device Name
Diffstat (limited to 'migrations/mysql')
-rw-r--r-- | migrations/mysql/2024-09-04-091351_use_device_type_for_mails/down.sql | 1 | ||||
-rw-r--r-- | migrations/mysql/2024-09-04-091351_use_device_type_for_mails/up.sql | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/migrations/mysql/2024-09-04-091351_use_device_type_for_mails/down.sql b/migrations/mysql/2024-09-04-091351_use_device_type_for_mails/down.sql new file mode 100644 index 00000000..dd0394ee --- /dev/null +++ b/migrations/mysql/2024-09-04-091351_use_device_type_for_mails/down.sql @@ -0,0 +1 @@ +ALTER TABLE `twofactor_incomplete` DROP COLUMN `device_type`; diff --git a/migrations/mysql/2024-09-04-091351_use_device_type_for_mails/up.sql b/migrations/mysql/2024-09-04-091351_use_device_type_for_mails/up.sql new file mode 100644 index 00000000..423e16c1 --- /dev/null +++ b/migrations/mysql/2024-09-04-091351_use_device_type_for_mails/up.sql @@ -0,0 +1 @@ +ALTER TABLE `twofactor_incomplete` ADD COLUMN `device_type` INTEGER NOT NULL; |