mirror of
https://github.com/discourse/discourse.git
synced 2025-09-05 08:59:27 +08:00
Update annotate and annotate models
This commit is contained in:
parent
6fabb341f1
commit
c2e45c8377
10 changed files with 82 additions and 9 deletions
|
@ -2,3 +2,18 @@ class UserArchivedMessage < ActiveRecord::Base
|
|||
belongs_to :user
|
||||
belongs_to :topic
|
||||
end
|
||||
|
||||
# == Schema Information
|
||||
#
|
||||
# Table name: user_archived_messages
|
||||
#
|
||||
# id :integer not null, primary key
|
||||
# user_id :integer not null
|
||||
# topic_id :integer not null
|
||||
# created_at :datetime
|
||||
# updated_at :datetime
|
||||
#
|
||||
# Indexes
|
||||
#
|
||||
# index_user_archived_messages_on_user_id_and_topic_id (user_id,topic_id) UNIQUE
|
||||
#
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue