FIX: rubocop in fix query ids migration

This commit is contained in:
Krzysztof Kotlarek 2020-09-07 10:46:46 +10:00
parent 856f00c1c7
commit 933fd9ac46
1 changed files with 3 additions and 3 deletions

View File

@ -1,3 +1,5 @@
# frozen_string_literal: true
class FixQueryIds < ActiveRecord::Migration[6.0] class FixQueryIds < ActiveRecord::Migration[6.0]
def up def up
ActiveRecord::Base.transaction do ActiveRecord::Base.transaction do
@ -37,8 +39,6 @@ class FixQueryIds < ActiveRecord::Migration[6.0]
) )
SQL SQL
movements.each do |movement| movements.each do |movement|
# insert moved and conflict queries to temporary table # insert moved and conflict queries to temporary table
DB.exec <<-SQL DB.exec <<-SQL