mirror of
https://github.com/discourse/discourse.git
synced 2025-09-07 12:02:53 +08:00
6 lines
183 B
Ruby
6 lines
183 B
Ruby
class AddAvgTimeToPosts < ActiveRecord::Migration[4.2]
|
|
def change
|
|
add_column :posts, :avg_time, :integer, null: true
|
|
add_column :posts, :score, :float, null: true
|
|
end
|
|
end
|