summaryrefslogtreecommitdiff
path: root/app/models/project_import_data.rb
diff options
context:
space:
mode:
authorJames Lopez <james@jameslopez.es>2016-03-21 17:16:27 +0100
committerJames Lopez <james@jameslopez.es>2016-03-21 17:16:27 +0100
commitbd8a77674f7226aafa4bd9befa8ed7482c372dc1 (patch)
tree9881110ca81abedcc91bf4004f03e23705859779 /app/models/project_import_data.rb
parent030b13944534be505dc97667ce2094ed6c588f12 (diff)
downloadgitlab-ce-bd8a77674f7226aafa4bd9befa8ed7482c372dc1.tar.gz
fixed few issues with the migration
Diffstat (limited to 'app/models/project_import_data.rb')
-rw-r--r--app/models/project_import_data.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/project_import_data.rb b/app/models/project_import_data.rb
index f3b9daa0d1a..420c01f9960 100644
--- a/app/models/project_import_data.rb
+++ b/app/models/project_import_data.rb
@@ -12,7 +12,7 @@ require 'file_size_validator'
class ProjectImportData < ActiveRecord::Base
belongs_to :project
- attr_encrypted :credentials, key: Gitlab::Application.secrets.db_key_base, marshal: true, encode: true
+ attr_encrypted :credentials, key: Gitlab::Application.secrets.db_key_base, marshal: true, encode: true, :mode => :per_attribute_iv_and_salt
serialize :data, JSON