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,18 @@
# == Schema Information
#
# Table name: post_timings
#
# topic_id :integer not null
# post_number :integer not null
# user_id :integer not null
# msecs :integer not null
#
# Indexes
#
# post_timings_summary (topic_id,post_number)
# post_timings_unique (topic_id,post_number,user_id) UNIQUE
#
class PostTiming < ActiveRecord::Base
belongs_to :topic
belongs_to :user