Commit cee69f89 authored by Stan Hu's avatar Stan Hu

Fix broken migration in MySQL

Closes #19344
parent a4b1fe4d
...@@ -9,7 +9,7 @@ class RemoveDuplicatedKeys < ActiveRecord::Migration ...@@ -9,7 +9,7 @@ class RemoveDuplicatedKeys < ActiveRecord::Migration
AND id != ( AND id != (
SELECT id FROM ( SELECT id FROM (
SELECT max(id) AS id SELECT max(id) AS id
FROM keys FROM #{quote_table_name(:keys)}
WHERE fingerprint = #{fingerprint} WHERE fingerprint = #{fingerprint}
) max_ids ) max_ids
) )
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment