discourse/db/migrate/20120704160659_add_avg_time_to_posts.rb

9 lines
214 B
Ruby
Raw Normal View History

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