Commit ed478105 authored by Sytse Sijbrandij's avatar Sytse Sijbrandij

Merge pull request #8199 from dblessing/fix/serialize_migration

Fix serialize migration
parents 59c25eb2 c3104abf
...@@ -23,7 +23,7 @@ class SerializeServiceProperties < ActiveRecord::Migration ...@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment