discourse/app/models/post_stat.rb

23 lines
556 B
Ruby
Raw Normal View History

# frozen_string_literal: true
class PostStat < ActiveRecord::Base
belongs_to :post
end
2015-09-18 08:41:10 +08:00
# == Schema Information
#
# Table name: post_stats
#
# id :integer not null, primary key
# post_id :integer
# drafts_saved :integer
# typing_duration_msecs :integer
# composer_open_duration_msecs :integer
2019-01-12 03:29:56 +08:00
# created_at :datetime not null
# updated_at :datetime not null
2015-09-18 08:41:10 +08:00
#
# Indexes
#
# index_post_stats_on_post_id (post_id)
#