small fixes for hps tasks

This commit is contained in:
Harry Bomrah 2017-05-25 18:02:17 +08:00
parent bfd36b559b
commit 4ca382009b
2 changed files with 3 additions and 1 deletions

View File

@ -7,4 +7,5 @@ class HpsCity
has_many :hps_counties, :dependent => :destroy
has_many :hps_schools
has_many :hps_files
end

View File

@ -7,8 +7,9 @@ class HpsFile
field :title
field :download_count, type: Integer, :default => 0
field :year, type: Integer
field :old_id
belongs_to :hps_member
belongs_to :hps_city
end