Browse Source

Fix issue with MariaDB/MySQL migrations

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
pull/3994/head
BlackDex 2 years ago
parent
commit
eda21fb9be
No known key found for this signature in database GPG Key ID: 58C80A2AA6C765E1
  1. 4
      migrations/mysql/2023-10-21-221242_add_cipher_key/up.sql

4
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;

Loading…
Cancel
Save