commit ecb31c85d68202f9d215c8ce12939158fb858af9
parent d722328f05f65910e00d01c7b156d30ab9ac8986
Author: Mathijs van Veluw <black.dex@gmail.com>
Date: Mon, 23 Oct 2023 12:23:35 +0200
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:
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
@@ -1,2 +1,2 @@
-ALTER TABLE ciphers
-ADD COLUMN "key" TEXT;
+ALTER TABLE ciphers
+ADD COLUMN `key` TEXT;