Sha256: b09e61727461763f0b931843dacb9c3490638457f1b80c539da826a6e49dbb11

Contents?: true

Size: 222 Bytes

Versions: 13

Compression:

Stored size: 222 Bytes

Contents

class ChangedChameleonsRenamedOldSpots < ActiveRecord::Migration
  def self.up
    rename_column :chameleons, :old_spots, :new_spots
  end
  
  def self.down
    rename_column :chameleons, :new_spots, :old_spots
  end
end

Version data entries

13 entries across 13 versions & 1 rubygems

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