Sha256: 0f2a9e492019116a1d7a785a1a3a83e35b0935daf786e0201830b7cfc54a64b2
Contents?: true
Size: 478 Bytes
Versions: 1
Compression:
Stored size: 478 Bytes
Contents
class AddResumeParserStatuses < ActiveRecord::Migration def self.up resume_parser = TrackedStatusType.create(description: 'Resume Parser', internal_identifier: 'resume_parser') ['Pending', 'Complete', 'Error'].each do |status| _status = TrackedStatusType.create(description: status, internal_identifier: status.underscore) _status.move_to_child_of(resume_parser) end end def self.down TrackedStatusType.iid('resume_parser').destroy end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
erp_work_effort-4.2.0 | db/migrate/20150401060938_add_resume_parser_statuses.rb |