2012-06-22 16:10:44 +01:00
|
|
|
class AddCountersToMassBuilds < ActiveRecord::Migration
|
|
|
|
def change
|
2014-01-21 04:51:49 +00:00
|
|
|
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
|
|
|
|
add_column :mass_builds, :build_error_count, :integer, default: 0
|
2012-06-22 16:10:44 +01:00
|
|
|
end
|
|
|
|
end
|