Sha256: d2c80cf8ebea95a8c045913164141160396e189cee7512536520cac940e22247

Contents?: true

Size: 295 Bytes

Versions: 13

Compression:

Stored size: 295 Bytes

Contents

class RemoveHmpStuffInZones < ActiveRecord::Migration
  def self.up                          
    change_table :zone_members do |t|
      t.rename :parent_id, :zone_id  
      t.rename :member_id, :zoneable_id
      t.rename :member_type, :zoneable_type
    end
  end

  def self.down
  end
end

Version data entries

13 entries across 13 versions & 3 rubygems

Version Path
kdmny-spree-0.0.1 db/migrate/20090401203712_remove_hmp_stuff_in_zones.rb
spree-enriquez-0.9.4 db/migrate/20090401203712_remove_hmp_stuff_in_zones.rb
spree-0.9.4 db/migrate/20090401203712_remove_hmp_stuff_in_zones.rb
spree-0.9.3 db/migrate/20090401203712_remove_hmp_stuff_in_zones.rb
spree-0.9.2 db/migrate/20090401203712_remove_hmp_stuff_in_zones.rb
spree-0.9.1 db/migrate/20090401203712_remove_hmp_stuff_in_zones.rb
spree-0.9.0 db/migrate/20090401203712_remove_hmp_stuff_in_zones.rb
spree-0.8.4 db/migrate/20090401203712_remove_hmp_stuff_in_zones.rb
spree-0.8.5 db/migrate/20090401203712_remove_hmp_stuff_in_zones.rb
spree-0.8.0 db/migrate/20090401203712_remove_hmp_stuff_in_zones.rb
spree-0.8.1 db/migrate/20090401203712_remove_hmp_stuff_in_zones.rb
spree-0.8.2 db/migrate/20090401203712_remove_hmp_stuff_in_zones.rb
spree-0.8.3 db/migrate/20090401203712_remove_hmp_stuff_in_zones.rb