2012-04-13 14:24:43 +01:00
|
|
|
class BuildAverageTime < ActiveRecord::Migration
|
|
|
|
def change
|
2014-01-21 04:51:49 +00:00
|
|
|
add_column :projects, :average_build_time, :integer, null: false, default: 0
|
|
|
|
add_column :projects, :build_count, :integer, null: false, default: 0
|
2012-04-13 14:24:43 +01:00
|
|
|
end
|
2012-04-13 18:38:57 +01:00
|
|
|
|
2014-01-21 04:51:49 +00:00
|
|
|
ActivityFeed.where(kind: 'build_list_notification').destroy_all
|
2012-04-13 18:38:57 +01:00
|
|
|
|
2012-04-13 14:24:43 +01:00
|
|
|
end
|