small fixes for hps tasks
This commit is contained in:
parent
bfd36b559b
commit
4ca382009b
|
@ -7,4 +7,5 @@ class HpsCity
|
|||
|
||||
has_many :hps_counties, :dependent => :destroy
|
||||
has_many :hps_schools
|
||||
has_many :hps_files
|
||||
end
|
|
@ -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
|
Loading…
Reference in New Issue