Sha256: 257e72bda085522a3bf0da7e4bde75c3e2006afc5be9b6a684a4ea05fd314d59

Contents?: true

Size: 227 Bytes

Versions: 2

Compression:

Stored size: 227 Bytes

Contents

class AddTaskWorkEffortTypes
  
  def self.up
    WorkEffortType.create(description: 'Ticket', internal_identifier: 'ticket')
  end
  
  def self.down
    WorkEffortType.find_by_internal_identifier('ticket').destroy
  end

end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
erp_work_effort-4.2.0 db/data_migrations/20131215225329_add_task_work_effort_types.rb
erp_work_effort-4.0.0 db/data_migrations/20131215225329_add_task_work_effort_types.rb