mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-01-24 20:36:49 +00:00
Update db/migrate/20241011071014_update_item_name_to_product_in_od_report.rb
Co-authored-by: David Cook <david@redcliffs.net>
This commit is contained in:
@@ -11,7 +11,7 @@ class UpdateItemNameToProductInODReport < ActiveRecord::Migration[7.0]
|
||||
|
||||
fields_to_show.delete('item_name')
|
||||
fields_to_show << 'product'
|
||||
option.update(options: option.options)
|
||||
option.save
|
||||
rescue StandardError => e
|
||||
puts "Failed to update rendering option with id: #{option.id}"
|
||||
puts "Error: #{e.message}"
|
||||
|
||||
Reference in New Issue
Block a user