Sha256: 95a26c18721e763f500b85decd1765b72829a4e02dca101b7b799f2c92f5ec91
Contents?: true
Size: 754 Bytes
Versions: 15
Compression:
Stored size: 754 Bytes
Contents
class CreateReferenceSheets < ActiveRecord::Migration[4.2] 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.datetime :started_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
15 entries across 15 versions & 1 rubygems