blob: 2d9700cb2bcc604422c1e8949304ae65ec8ef57a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
# frozen_string_literal: true
module Gitlab
module DatabaseImporters
module WorkItems
module BaseTypeImporter
def self.import
::WorkItems::Type::BASE_TYPES.each do |type, attributes|
::WorkItems::Type.create!(base_type: type, **attributes.slice(:name, :icon_name))
end
end
end
end
end
end
|