Sha256: 88a9ec856e03e5207b437a02b96dfb3330320288f527c8736e43bc67dafc67ef

Contents?: true

Size: 212 Bytes

Versions: 4

Compression:

Stored size: 212 Bytes

Contents

class ChangeDisplayNameForVolumePrices < ActiveRecord::Migration
  def self.up
    rename_column :volume_prices, :display, :name
  end

  def self.down
    rename_column :volume_prices, :name, :display
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
solidus_volume_pricing-0.2.1 db/migrate/20110203174010_change_display_name_for_volume_prices.rb
solidus_volume_pricing-0.1.1 db/migrate/20110203174010_change_display_name_for_volume_prices.rb
solidus_volume_pricing-0.2.0 db/migrate/20110203174010_change_display_name_for_volume_prices.rb
solidus_volume_pricing-0.1.0 db/migrate/20110203174010_change_display_name_for_volume_prices.rb