docbrown/db/migrate/20181129222416_add_points_to_follows.rb
Ben Halpern 651ab3ce35
Add point weights for tag follows (#1229)
* Add point weights for tag follows

* Adjust num articles to initially show up on home page

* Fix schema.rb

* Adjust follow policy spec

* Adjust dashboard styling for follow points form
2018-11-30 15:36:58 -05:00

5 lines
134 B
Ruby

class AddPointsToFollows < ActiveRecord::Migration[5.1]
def change
add_column :follows, :points, :float, default: 1.0
end
end