Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/db
diff options
context:
space:
mode:
authorDrew Blessing <drew.blessing@me.com>2014-10-30 13:01:21 +0300
committerDrew Blessing <drew.blessing@me.com>2014-10-30 13:01:21 +0300
commitc3104abfd4d5c58838a6f4514ffa4b7c04ff6dcd (patch)
tree564f09277c5108b86af83e7426fdd8b3886c0bd7 /db
parentf99b876837e8e86dc5f4d898c16046d3183804a8 (diff)
Fix serialize migration
Diffstat (limited to 'db')
-rw-r--r--db/migrate/20140907220153_serialize_service_properties.rb2
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