diff options
author | Stan Hu <stanhu@gmail.com> | 2016-06-29 11:22:18 -0700 |
---|---|---|
committer | Stan Hu <stanhu@gmail.com> | 2016-06-29 11:22:18 -0700 |
commit | cee69f8968dd4d6cd3009541ad244b928a24f8d7 (patch) | |
tree | 26c4a96ac750fde0fecc19271d1fa6129eab4aea /db/migrate/20160616102642_remove_duplicated_keys.rb | |
parent | a4b1fe4de951cb18a061b2be7b85988e6db26f5b (diff) | |
download | gitlab-ce-cee69f8968dd4d6cd3009541ad244b928a24f8d7.tar.gz |
Fix broken migration in MySQL
Closes #19344
Diffstat (limited to 'db/migrate/20160616102642_remove_duplicated_keys.rb')
-rw-r--r-- | db/migrate/20160616102642_remove_duplicated_keys.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/db/migrate/20160616102642_remove_duplicated_keys.rb b/db/migrate/20160616102642_remove_duplicated_keys.rb index 00a45d7fe73..c66da4e65d3 100644 --- a/db/migrate/20160616102642_remove_duplicated_keys.rb +++ b/db/migrate/20160616102642_remove_duplicated_keys.rb @@ -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 ) |