implement site reporting

This commit is contained in:
Kyle Drake 2014-06-14 16:15:47 -07:00
parent 5edeba9495
commit e546b22797
5 changed files with 84 additions and 3 deletions

View file

@ -78,6 +78,9 @@ class Site < Sequel::Model
one_to_many :blocks
one_to_many :blockings, key: :actioning_site_id, class: :Block
one_to_many :reports
one_to_many :reportings, key: :reporting_site_id, class: :Report
one_to_many :stats
one_to_many :events