discourse/db/migrate/20120704160659_add_avg_time_to_posts.rb

7 lines
178 B
Ruby
Raw Normal View History

2013-02-06 03:16:51 +08:00
class AddAvgTimeToPosts < ActiveRecord::Migration
def change
add_column :posts, :avg_time, :integer, null: true
add_column :posts, :score, :float, null: true
end
end