mirror of
https://github.com/discourse/discourse.git
synced 2024-11-27 19:06:20 +08:00
7 lines
178 B
Ruby
7 lines
178 B
Ruby
class AddAvgTimeToPosts < ActiveRecord::Migration
|
|
def change
|
|
add_column :posts, :avg_time, :integer, null: true
|
|
add_column :posts, :score, :float, null: true
|
|
end
|
|
end
|