change tags.hotness_mod to float

This commit is contained in:
joshua stein 2015-07-24 00:35:23 -05:00
parent 8282181e49
commit a31ecc80ac
2 changed files with 6 additions and 1 deletions

View file

@ -0,0 +1,5 @@
class HotnessModToFloat < ActiveRecord::Migration
def change
change_column :tags, :hotness_mod, :float
end
end

View file

@ -154,7 +154,7 @@ ActiveRecord::Schema.define(version: 20150313040930) do
t.boolean "privileged", default: false
t.boolean "is_media", default: false
t.boolean "inactive", default: false
t.integer "hotness_mod", default: 0
t.float "hotness_mod", limit: 24, default: 0.0
end
add_index "tags", ["tag"], name: "tag", unique: true, using: :btree