forgeplus/app/models/feedback.rb

22 lines
416 B
Ruby
Raw Permalink Normal View History

2022-11-08 13:27:46 +08:00
# == Schema Information
#
# Table name: feedbacks
#
# id :integer not null, primary key
# user_id :integer
# content :text(65535)
# created_at :datetime not null
# updated_at :datetime not null
#
# Indexes
#
# index_feedbacks_on_user_id (user_id)
#
class Feedback < ApplicationRecord
belongs_to :user
has_many :feedback_message_histories, dependent: :destroy
2022-11-08 13:27:46 +08:00
end