Column 'visits' added to packages
Preparation for processing web server access logs to count visits of packages.
This commit is contained in:
parent
0ffcf5ca19
commit
5df0a96b1d
2 changed files with 7 additions and 1 deletions
5
db/migrate/20160810063320_add_visits_to_packages.rb
Normal file
5
db/migrate/20160810063320_add_visits_to_packages.rb
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
class AddVisitsToPackages < ActiveRecord::Migration
|
||||
def change
|
||||
add_column :packages, :visits, :integer
|
||||
end
|
||||
end
|
||||
Loading…
Add table
Add a link
Reference in a new issue