diff options
author | James Lopez <james@jameslopez.es> | 2016-07-01 16:34:10 +0300 |
---|---|---|
committer | James Lopez <james@jameslopez.es> | 2016-07-01 16:34:10 +0300 |
commit | f29c30475e621dedae24791ae9b144b6bef2f80a (patch) | |
tree | 3850dee7b3703d2e0046015ec84ed700379b0124 /lib | |
parent | d6d0a35598c6fefd31dcc6b43bc2698792788faa (diff) |
use has_many relationship with events
Diffstat (limited to 'lib')
-rw-r--r-- | lib/gitlab/import_export/relation_factory.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/gitlab/import_export/relation_factory.rb b/lib/gitlab/import_export/relation_factory.rb index 92bf7e0a2fc..3fd89e08f09 100644 --- a/lib/gitlab/import_export/relation_factory.rb +++ b/lib/gitlab/import_export/relation_factory.rb @@ -33,6 +33,7 @@ module Gitlab update_user_references update_project_references reset_ci_tokens if @relation_name == 'Ci::Trigger' + @relation_hash['data'].deep_symbolize_keys! if @relation_name == :events && @relation_hash['data'] generate_imported_object end |