Sha256: 114c6f99a263b5b00aa4e7c98cb5b679d661a7b99ba224031c98ccbe49780e13
Contents?: true
Size: 367 Bytes
Versions: 15
Compression:
Stored size: 367 Bytes
Contents
class CreateJoinTable < ActiveRecord::Migration[4.2] def change create_table Fe::AnswerSheetQuestionSheet.table_name do |t| t.integer :answer_sheet_id t.integer :question_sheet_id t.timestamps end add_index Fe::AnswerSheetQuestionSheet.table_name, [:answer_sheet_id, :question_sheet_id], name: 'answer_sheet_question_sheet' end end
Version data entries
15 entries across 15 versions & 1 rubygems