From ecb31c85d68202f9d215c8ce12939158fb858af9 Mon Sep 17 00:00:00 2001 From: Mathijs van Veluw Date: Mon, 23 Oct 2023 12:23:35 +0200 Subject: [PATCH] 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 --- migrations/mysql/2023-10-21-221242_add_cipher_key/up.sql | 4 ++-- 1 file 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 717ff3747a..78b9b2ada6 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;