FIX: rubocop in fix query ids migration
This commit is contained in:
parent
856f00c1c7
commit
933fd9ac46
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue