Skip to content

Commit

Permalink
Fix issue with MariaDB/MySQL migrations (#3994)
Browse files Browse the repository at this point in the history
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
  • Loading branch information
BlackDex authored Oct 23, 2023
1 parent d722328 commit ecb31c8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions migrations/mysql/2023-10-21-221242_add_cipher_key/up.sql
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
ALTER TABLE ciphers
ADD COLUMN "key" TEXT;
ALTER TABLE ciphers
ADD COLUMN `key` TEXT;

0 comments on commit ecb31c8

Please sign in to comment.