Sha256: 3ea04e89883982942052eeed52490c5aca568ac0af310c8dc5a32f2f9d32b1b8

Contents?: true

Size: 204 Bytes

Versions: 13

Compression:

Stored size: 204 Bytes

Contents

class ChangedChameleonsDeletedSpots < ActiveRecord::Migration
  def self.up
    remove_column :chameleons, :spots
  end

  def self.down
    add_column :chameleons, :spots, :string, :limit=>255
  end
end

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
migrant-1.5.0 test/verified_output/migrations/deleted_spots.rb
migrant-1.4.3 test/verified_output/migrations/deleted_spots.rb
migrant-1.4.1 test/verified_output/migrations/deleted_spots.rb
migrant-1.4.0 test/verified_output/migrations/deleted_spots.rb
migrant-1.3.2 test/verified_output/migrations/deleted_spots.rb
migrant-1.3.1 test/verified_output/migrations/deleted_spots.rb
migrant-1.3.0 test/verified_output/migrations/deleted_spots.rb
migrant-1.2.8 test/verified_output/migrations/deleted_spots.rb
migrant-1.2.7 test/verified_output/migrations/deleted_spots.rb
migrant-1.2.5 test/verified_output/migrations/deleted_spots.rb
migrant-1.2.2 test/verified_output/migrations/deleted_spots.rb
migrant-1.2.1 test/verified_output/migrations/deleted_spots.rb
migrant-1.2.0 test/verified_output/migrations/deleted_spots.rb