2012-06-22 16:10:44 +01:00
|
|
|
class AddCountersToMassBuilds < ActiveRecord::Migration
|
|
|
|
def change
|
|
|
|
add_column :mass_builds, :build_lists_count, :integer, :default => 0
|
|
|
|
add_column :mass_builds, :build_published_count, :integer, :default => 0
|
|
|
|
add_column :mass_builds, :build_pending_count, :integer, :default => 0
|
|
|
|
add_column :mass_builds, :build_started_count, :integer, :default => 0
|
|
|
|
add_column :mass_builds, :build_publish_count, :integer, :default => 0
|
2012-06-27 10:48:54 +01:00
|
|
|
add_column :mass_builds, :build_error_count, :integer, :default => 0
|
2012-06-22 16:10:44 +01:00
|
|
|
end
|
|
|
|
end
|