Browse Source

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
pull/4025/head
Mathijs van Veluw 1 year ago
committed by GitHub
parent
commit
ecb31c85d6
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      migrations/mysql/2023-10-21-221242_add_cipher_key/up.sql

2
migrations/mysql/2023-10-21-221242_add_cipher_key/up.sql

@ -1,2 +1,2 @@
ALTER TABLE ciphers
ADD COLUMN "key" TEXT;
ADD COLUMN `key` TEXT;

Loading…
Cancel
Save