rosa-build/db/migrate/20120622092725_add_counters...

11 lines
509 B
Ruby
Raw Permalink Normal View History

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
end
end