31 lines
726 B
Ruby
31 lines
726 B
Ruby
# == Schema Information
|
|
#
|
|
# Table name: review_messages
|
|
#
|
|
# id :bigint not null, primary key
|
|
# content :string
|
|
# feedback_type :string
|
|
# created_at :datetime not null
|
|
# updated_at :datetime not null
|
|
# question_id :bigint not null
|
|
# user_id :bigint not null
|
|
#
|
|
# Indexes
|
|
#
|
|
# index_review_messages_on_question_id (question_id)
|
|
# index_review_messages_on_user_id (user_id)
|
|
#
|
|
# Foreign Keys
|
|
#
|
|
# fk_rails_... (question_id => questions.id)
|
|
# fk_rails_... (user_id => users.id)
|
|
#
|
|
FactoryBot.define do
|
|
factory :review_message do
|
|
feedback_type { "MyString" }
|
|
content { "MyString" }
|
|
question { nil }
|
|
user { nil }
|
|
end
|
|
end
|