Commit e6fec992cb932a963ed46aa6c2624dc1127499e1

Authored by Pius Uzamere
1 parent 59bb951f

add an explicit loss count

db/migrate/20091204025823_add_loss_count_to_choices.rb 0 → 100644
... ... @@ -0,0 +1,9 @@
  1 +class AddLossCountToChoices < ActiveRecord::Migration
  2 + def self.up
  3 + add_column :choices, :loss_count, :integer, :default => 0
  4 + end
  5 +
  6 + def self.down
  7 + remove_column :choices, :loss_count
  8 + end
  9 +end
... ...