dev_local_2
daiao 5 years ago
parent 6bd122723a
commit 38ca342e4d

@ -98,6 +98,7 @@ GEM
connection_pool (2.2.2)
crass (1.0.4)
diff-lcs (1.3)
diffy (3.3.0)
elasticsearch (7.2.0)
elasticsearch-api (= 7.2.0)
elasticsearch-transport (= 7.2.0)
@ -368,6 +369,7 @@ DEPENDENCIES
byebug
capybara (>= 2.15, < 4.0)
chromedriver-helper
diffy
enumerize
faraday (~> 0.15.4)
font-awesome-sass (= 4.7.0)

@ -1,7 +0,0 @@
class ResortPortalImageData < ActiveRecord::Migration[5.2]
def change
PortalImage.order(position: :asc).each_with_index do |image, index|
image.update!(position: index + 1)
end
end
end
Loading…
Cancel
Save