mirror of
https://gitlink.org.cn/Gitlink/forgeplus.git
synced 2026-05-20 11:45:57 +08:00
新增:反馈意见模型及接口
This commit is contained in:
20
app/models/feedback.rb
Normal file
20
app/models/feedback.rb
Normal file
@@ -0,0 +1,20 @@
|
||||
# == 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
|
||||
|
||||
end
|
||||
Reference in New Issue
Block a user