mirror of
https://github.com/discourse/discourse.git
synced 2025-06-01 04:19:01 +08:00
lets try out annotations
This commit is contained in:
@ -1,3 +1,24 @@
|
||||
# == Schema Information
|
||||
#
|
||||
# Table name: incoming_links
|
||||
#
|
||||
# id :integer not null, primary key
|
||||
# url :string(1000) not null
|
||||
# referer :string(1000)
|
||||
# domain :string(100)
|
||||
# topic_id :integer
|
||||
# post_number :integer
|
||||
# created_at :datetime not null
|
||||
# updated_at :datetime not null
|
||||
# user_id :integer
|
||||
# ip_address :string
|
||||
# current_user_id :integer
|
||||
#
|
||||
# Indexes
|
||||
#
|
||||
# incoming_index (topic_id,post_number)
|
||||
#
|
||||
|
||||
class IncomingLink < ActiveRecord::Base
|
||||
belongs_to :topic
|
||||
belongs_to :user
|
||||
|
Reference in New Issue
Block a user