OpenProject is the leading open source project management software.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
openproject/db/seeds/all.rb

13 lines
446 B

# add seeds here, that need to be available in all environments
unless Type.exists?(name: "none")
Type.connection.schema_cache.clear!
Type.reset_column_information
Type.create!(name: 'none',
color_id: '#000000',
is_standard: true,
is_default: true,
is_in_chlog: true,
is_in_roadmap: true,
in_aggregation: true,
is_milestone: false)
end