lets try out annotations

This commit is contained in:
Sam
2013-05-24 12:35:14 +10:00
parent dd1ad508cf
commit 2cd95bc649
45 changed files with 870 additions and 1 deletions

View File

@ -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