Sha256: 8a98c0d2c5edfd4c589dd047f80c63eae9d1de49855c0663d957db768afa830a

Contents?: true

Size: 406 Bytes

Versions: 1

Compression:

Stored size: 406 Bytes

Contents

# This migration comes from erp_work_effort (originally 20150718054404)
class AddProjectPartyRoleTypes

  def self.up
    RoleType.find_or_create("project_assignee", "Project Assignee", RoleType.iid("application_composer"))
  end

  def self.down
    project_role_type = RoleType.find_or_create("project_assignee", "Project", RoleType.iid("application_composer"))
    project_role_type.destroy
  end

end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
erp_work_effort-4.2.0 db/data_migrations/20150718054404_add_project_party_role_types.rb