瀏覽代碼

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
Mathijs van Veluw 2 年之前
父節點
當前提交
ecb31c85d6
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2 2
      migrations/mysql/2023-10-21-221242_add_cipher_key/up.sql

+ 2 - 2
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;