Sha256: 1de99d94834d2a15e43573e653f92406cfaafacfe2ce118c3bd33f178303e611

Contents?: true

Size: 480 Bytes

Versions: 1

Compression:

Stored size: 480 Bytes

Contents

class CreateCandidateSubmissions < ActiveRecord::Migration


  def self.up
    unless table_exists?(:candidate_submissions)
      create_table :candidate_submissions do |t|
        t.integer :order_line_item_id
        t.string  :description
        t.string  :internal_identifier
        t.text    :custom_fields
        t.timestamps
      end
    end
  end

  def self.down
    if table_exists?(:candidate_submissions)
      drop_table :candidate_submissions
    end
  end

end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
erp_work_effort-4.2.0 db/migrate/20150325195749_create_candidate_submissions.rb