Skip to content
Snippets Groups Projects
Commit c3104abf authored by Drew Blessing's avatar Drew Blessing
Browse files

Fix serialize migration

parent f99b8768
No related branches found
No related tags found
No related merge requests found
Loading
@@ -23,7 +23,7 @@ class SerializeServiceProperties < ActiveRecord::Migration
Loading
@@ -23,7 +23,7 @@ class SerializeServiceProperties < ActiveRecord::Migration
associations[service.type.to_sym].each do |attribute| associations[service.type.to_sym].each do |attribute|
service.send("#{attribute}=", service.attributes[attribute.to_s]) service.send("#{attribute}=", service.attributes[attribute.to_s])
end end
service.save! service.save(validate: false)
end end
   
remove_column :services, :project_url, :string remove_column :services, :project_url, :string
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment