mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-03-10 03:30:22 +00:00
#440: Try removing validation from update (to prevent geocoding).
This commit is contained in:
@@ -13,7 +13,7 @@ class AddPermalinkToEnterprises < ActiveRecord::Migration
|
||||
counter += 1
|
||||
end
|
||||
|
||||
enterprise.update_attributes!(permalink: permalink)
|
||||
enterprise.update_attribute('permalink', permalink)
|
||||
end
|
||||
|
||||
change_column :enterprises, :permalink, :string, null: false
|
||||
|
||||
Reference in New Issue
Block a user