Sha256: 116e3c2243d1cc26d4d07c1b98e5acdc5f8157416ba6c8e17cb1b03583383f9d

Contents?: true

Size: 328 Bytes

Versions: 94

Compression:

Stored size: 328 Bytes

Contents

class AddActiveToCountries < ActiveRecord::Migration
  def up
    add_column :countries, :active_shipping, :boolean, :default => false
    add_column :countries, :active_billing, :boolean, :default => false
  end

  def down
    remove_column :countries, :active_shipping
    remove_column :countries, :active_billing
  end
end

Version data entries

94 entries across 94 versions & 2 rubygems

Version Path
piggybak-0.7.7 db/migrate/20120107135459_add_active_to_countries.rb
piggybak-0.7.6 db/migrate/20120107135459_add_active_to_countries.rb
piggybak-0.7.5 db/migrate/20120107135459_add_active_to_countries.rb
piggybak-0.6.34 db/migrate/20120107135459_add_active_to_countries.rb
piggybak_free_shipping_by_product-0.0.2 test/dummy/db/migrate/20120107140039_add_active_to_countries.rb
piggybak_free_shipping_by_product-0.0.1 test/dummy/db/migrate/20120107140039_add_active_to_countries.rb
piggybak-0.7.4 db/migrate/20120107135459_add_active_to_countries.rb
piggybak-0.7.3 db/migrate/20120107135459_add_active_to_countries.rb
piggybak-0.7.2 db/migrate/20120107135459_add_active_to_countries.rb
piggybak-0.7.1 db/migrate/20120107135459_add_active_to_countries.rb
piggybak-0.7.0 db/migrate/20120107135459_add_active_to_countries.rb
piggybak-0.6.33 db/migrate/20120107135459_add_active_to_countries.rb
piggybak-0.6.32 db/migrate/20120107135459_add_active_to_countries.rb
piggybak-0.6.31 db/migrate/20120107135459_add_active_to_countries.rb
piggybak-0.6.30 db/migrate/20120107135459_add_active_to_countries.rb
piggybak-0.6.29 db/migrate/20120107135459_add_active_to_countries.rb
piggybak-0.6.28 db/migrate/20120107135459_add_active_to_countries.rb
piggybak-0.6.27 db/migrate/20120107135459_add_active_to_countries.rb
piggybak-0.6.26 db/migrate/20120107135459_add_active_to_countries.rb
piggybak-0.6.25 db/migrate/20120107135459_add_active_to_countries.rb