Sha256: 197ff48c96fe3a821d31c0f4f7fc2248dd6138da5070f6060af10a1a046021c7
Contents?: true
Size: 383 Bytes
Versions: 2
Compression:
Stored size: 383 Bytes
Contents
class CreateQuizzesGameQuestions < ActiveRecord::Migration[5.0] def change create_table :quizzes_game_questions do |t| t.references :game, foreign_key: {to_table: :quizzes_games, name: "game_id"} t.references :question, foreign_key: {to_table: :quizzes_questions, name: "question_id"} t.integer :seed_to_shuffle_answers t.timestamps end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
quizzes-0.1.1 | db/migrate/20160816213825_create_quizzes_game_questions.rb |
quizzes-0.1.0 | db/migrate/20160816213825_create_quizzes_game_questions.rb |