Sha256: a28a627b43503fcb01a7bccff2549b11c323a5f5d9e2da3a386c9a7361e06a19

Contents?: true

Size: 221 Bytes

Versions: 30

Compression:

Stored size: 221 Bytes

Contents

class AddCompletedToEntries < ActiveRecord::Migration
  def self.up
    add_column :entries, :completed, :boolean, :null => false, :default => false
  end

  def self.down
    remove_column :entries, :completed
  end
end

Version data entries

30 entries across 30 versions & 1 rubygems

Version Path
tournament-5.0.0 webgui/db/migrate/20090225072849_add_completed_to_entries.rb
tournament-4.2.0 webgui/db/migrate/20090225072849_add_completed_to_entries.rb
tournament-4.0.2 webgui/db/migrate/20090225072849_add_completed_to_entries.rb
tournament-4.0.0 webgui/db/migrate/20090225072849_add_completed_to_entries.rb
tournament-3.3.3 webgui/db/migrate/20090225072849_add_completed_to_entries.rb
tournament-3.3.2 webgui/db/migrate/20090225072849_add_completed_to_entries.rb
tournament-3.3.1 webgui/db/migrate/20090225072849_add_completed_to_entries.rb
tournament-3.3.0 webgui/db/migrate/20090225072849_add_completed_to_entries.rb
tournament-3.2.2 webgui/db/migrate/20090225072849_add_completed_to_entries.rb
tournament-3.2.1 webgui/db/migrate/20090225072849_add_completed_to_entries.rb
tournament-3.2.0 webgui/db/migrate/20090225072849_add_completed_to_entries.rb
tournament-3.1.1 webgui/db/migrate/20090225072849_add_completed_to_entries.rb
tournament-3.1.0 webgui/db/migrate/20090225072849_add_completed_to_entries.rb
tournament-3.0.3 webgui/db/migrate/20090225072849_add_completed_to_entries.rb
tournament-3.0.2 webgui/db/migrate/20090225072849_add_completed_to_entries.rb
tournament-3.0.1 webgui/db/migrate/20090225072849_add_completed_to_entries.rb
tournament-3.0.0 webgui/db/migrate/20090225072849_add_completed_to_entries.rb
tournament-2.1.1 webgui/db/migrate/20090225072849_add_completed_to_entries.rb
tournament-2.0.0 webgui/db/migrate/20090225072849_add_completed_to_entries.rb
tournament-2.2.0 webgui/db/migrate/20090225072849_add_completed_to_entries.rb