class CreateFinancialAidAnswers < ActiveRecord::Migration[6.1]
  def change
    create_table :financial_aid_answers do |t|
      t.references :application, null: false,
        foreign_key: { to_table: :financial_aid_applications }
      t.references :question, null: false,
        foreign_key: { to_table: :financial_aid_applications }

      t.string :answer
      t.integer :status, null: false, default: 0
      t.string :notes

      t.timestamps
    end
  end
end
