Update annotations

This commit is contained in:
Sam
2014-02-07 11:07:36 +11:00
parent 227873df78
commit be560d4eb6
13 changed files with 132 additions and 22 deletions

View File

@ -4,3 +4,21 @@ class PostRevision < ActiveRecord::Base
serialize :modifications, Hash
end
# == Schema Information
#
# Table name: post_revisions
#
# id :integer not null, primary key
# user_id :integer
# post_id :integer
# modifications :text
# number :integer
# created_at :datetime
# updated_at :datetime
#
# Indexes
#
# index_post_revisions_on_post_id (post_id)
# index_post_revisions_on_post_id_and_number (post_id,number)
#