Bläddra i källkod

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 år sedan
förälder
incheckning
ecb31c85d6
1 ändrade filer med 2 tillägg och 2 borttagningar
  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;