1
0
mirror of https://github.com/dani-garcia/vaultwarden.git synced 2024-11-09 12:32:37 +01:00

Fix issue with MariaDB/MySQL migrations (#3994)

MariaDB/MySQL doesn't like the normal `"` quotes around the column name.
This needs to be a backtick **`**.

This PR changes the migration script to fix this issue.

Fixes #3993
This commit is contained in:
Mathijs van Veluw 2023-10-23 12:23:35 +02:00 committed by GitHub
parent d722328f05
commit ecb31c85d6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,2 +1,2 @@
ALTER TABLE ciphers
ADD COLUMN "key" TEXT;
ALTER TABLE ciphers
ADD COLUMN `key` TEXT;