Sha256: 7fd08319772953b2ae88b89d86d5c632f3933c9e1abf6932d2c6e97ad6ae451e

Contents?: true

Size: 184 Bytes

Versions: 2

Compression:

Stored size: 184 Bytes

Contents

class AddQuestionaireIdToQuestions < ActiveRecord::Migration
  def change
    add_column :questions, :questionnaire_id, :integer

    add_index :questions, :questionnaire_id
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
survey_says-0.0.2 db/migrate/20111211180011_add_questionaire_id_to_questions.rb
survey_says-0.0.1 db/migrate/20111211180011_add_questionaire_id_to_questions.rb