diff options
author | Drew Blessing <drew.blessing@me.com> | 2014-10-30 05:01:21 -0500 |
---|---|---|
committer | Drew Blessing <drew.blessing@me.com> | 2014-10-30 05:01:21 -0500 |
commit | c3104abfd4d5c58838a6f4514ffa4b7c04ff6dcd (patch) | |
tree | 564f09277c5108b86af83e7426fdd8b3886c0bd7 /db | |
parent | f99b876837e8e86dc5f4d898c16046d3183804a8 (diff) | |
download | gitlab-ce-c3104abfd4d5c58838a6f4514ffa4b7c04ff6dcd.tar.gz |
Fix serialize migration
Diffstat (limited to 'db')
-rw-r--r-- | db/migrate/20140907220153_serialize_service_properties.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/db/migrate/20140907220153_serialize_service_properties.rb b/db/migrate/20140907220153_serialize_service_properties.rb index b95f5b82e03..6293015fa07 100644 --- a/db/migrate/20140907220153_serialize_service_properties.rb +++ b/db/migrate/20140907220153_serialize_service_properties.rb @@ -23,7 +23,7 @@ class SerializeServiceProperties < ActiveRecord::Migration associations[service.type.to_sym].each do |attribute| service.send("#{attribute}=", service.attributes[attribute.to_s]) end - service.save! + service.save(validate: false) end remove_column :services, :project_url, :string |