All basic question types
This commit is contained in:
parent
3e1e5618ca
commit
4fe218166f
51 changed files with 760 additions and 92 deletions
25
test/fixtures/answers.yml
vendored
25
test/fixtures/answers.yml
vendored
|
@ -1,9 +1,20 @@
|
|||
# Read about fixtures at https://api.rubyonrails.org/classes/ActiveRecord/FixtureSet.html
|
||||
|
||||
one:
|
||||
question: one
|
||||
data: MyText
|
||||
|
||||
two:
|
||||
question: two
|
||||
data: MyText
|
||||
# == Schema Information
|
||||
#
|
||||
# Table name: answers
|
||||
#
|
||||
# id :integer not null, primary key
|
||||
# data :text
|
||||
# created_at :datetime not null
|
||||
# updated_at :datetime not null
|
||||
# question_id :integer not null
|
||||
#
|
||||
# Indexes
|
||||
#
|
||||
# index_answers_on_question_id (question_id)
|
||||
#
|
||||
# Foreign Keys
|
||||
#
|
||||
# question_id (question_id => questions.id)
|
||||
#
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue