Sha256: dd17fc92fc2496704136a12af76f0717892748d441446e94cbe7b7377d9f923c
Contents?: true
Size: 720 Bytes
Versions: 2
Compression:
Stored size: 720 Bytes
Contents
class CreateReferenceSheets < ActiveRecord::Migration def change create_table Fe::ReferenceSheet.table_name do |t| t.integer :question_id t.integer :applicant_answer_sheet_id t.datetime :email_sent_at t.string :relationship t.string :title t.string :first_name t.string :last_name t.string :phone t.string :email t.string :status t.datetime :submitted_at t.string :access_key t.timestamps end add_column Fe::Element.table_name, :related_question_sheet_id, :integer add_index Fe::ReferenceSheet.table_name, :question_id add_index Fe::ReferenceSheet.table_name, :applicant_answer_sheet_id end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
fe-0.0.4 | db/migrate/20131003044250_create_reference_sheets.rb |
fe-0.0.3 | db/migrate/20131003044250_create_reference_sheets.rb |