parent
a4b1fe4de9
commit
cee69f8968
1 changed files with 1 additions and 1 deletions
|
@ -9,7 +9,7 @@ class RemoveDuplicatedKeys < ActiveRecord::Migration
|
|||
AND id != (
|
||||
SELECT id FROM (
|
||||
SELECT max(id) AS id
|
||||
FROM keys
|
||||
FROM #{quote_table_name(:keys)}
|
||||
WHERE fingerprint = #{fingerprint}
|
||||
) max_ids
|
||||
)
|
||||
|
|
Loading…
Reference in a new issue