diff options
author | Mathijs van Veluw <[email protected]> | 2023-10-23 12:23:35 +0200 |
---|---|---|
committer | GitHub <[email protected]> | 2023-10-23 12:23:35 +0200 |
commit | ecb31c85d68202f9d215c8ce12939158fb858af9 (patch) | |
tree | ffdea3e4c087f33120240cb1607eacfbfba51068 /migrations/mysql | |
parent | d722328f05f65910e00d01c7b156d30ab9ac8986 (diff) | |
download | vaultwarden-ecb31c85d68202f9d215c8ce12939158fb858af9.tar.gz vaultwarden-ecb31c85d68202f9d215c8ce12939158fb858af9.zip |
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
Diffstat (limited to 'migrations/mysql')
-rw-r--r-- | migrations/mysql/2023-10-21-221242_add_cipher_key/up.sql | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/migrations/mysql/2023-10-21-221242_add_cipher_key/up.sql b/migrations/mysql/2023-10-21-221242_add_cipher_key/up.sql index 717ff374..78b9b2ad 100644 --- a/migrations/mysql/2023-10-21-221242_add_cipher_key/up.sql +++ b/migrations/mysql/2023-10-21-221242_add_cipher_key/up.sql @@ -1,2 +1,2 @@ -ALTER TABLE ciphers -ADD COLUMN "key" TEXT; +ALTER TABLE ciphers +ADD COLUMN `key` TEXT; |