change tags.hotness_mod to float
This commit is contained in:
parent
8282181e49
commit
a31ecc80ac
5
db/migrate/20150224035617_hotness_mod_to_float.rb
Normal file
5
db/migrate/20150224035617_hotness_mod_to_float.rb
Normal file
|
@ -0,0 +1,5 @@
|
|||
class HotnessModToFloat < ActiveRecord::Migration
|
||||
def change
|
||||
change_column :tags, :hotness_mod, :float
|
||||
end
|
||||
end
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue