2
0
Fork 0
mirror of https://github.com/discourse/discourse.git synced 2025-09-10 21:01:33 +08:00
discourse/db/migrate/20120704160659_add_avg_time_to_posts.rb

7 lines
183 B
Ruby
Raw Normal View History

class AddAvgTimeToPosts < ActiveRecord::Migration[4.2]
2013-02-05 14:16:51 -05:00
def change
add_column :posts, :avg_time, :integer, null: true
add_column :posts, :score, :float, null: true
end
end