Run annotate_models
This commit is contained in:
parent
55e853d31d
commit
d7e24f6521
124 changed files with 2192 additions and 19 deletions
|
|
@ -1,5 +1,24 @@
|
|||
# frozen_string_literal: true
|
||||
|
||||
# == Schema Information
|
||||
#
|
||||
# Table name: surveys
|
||||
#
|
||||
# id :bigint not null, primary key
|
||||
# description :text
|
||||
# end_date :datetime
|
||||
# start_date :datetime
|
||||
# surveyable_type :string
|
||||
# target :integer default("after_conference")
|
||||
# title :string
|
||||
# created_at :datetime not null
|
||||
# updated_at :datetime not null
|
||||
# surveyable_id :integer
|
||||
#
|
||||
# Indexes
|
||||
#
|
||||
# index_surveys_on_surveyable_type_and_surveyable_id (surveyable_type,surveyable_id)
|
||||
#
|
||||
class Survey < ActiveRecord::Base
|
||||
belongs_to :surveyable, polymorphic: true
|
||||
has_many :survey_questions, dependent: :destroy
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue