rosa-build/db/migrate/20120413102757_build_averag...

10 lines
294 B
Ruby
Raw Permalink Normal View History

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
end
2014-01-21 04:51:49 +00:00
ActivityFeed.where(kind: 'build_list_notification').destroy_all
end