Sha256: 789cd1e1050a2ed595968c4604e7b3e890226c928e96d8c87dc0819c15b7dbe7

Contents?: true

Size: 224 Bytes

Versions: 61

Compression:

Stored size: 224 Bytes

Contents

class AddDefaultToTaxCategories < ActiveRecord::Migration
  def self.up
    add_column :tax_categories, :is_default, :boolean, :default => false
  end

  def self.down
    remove_column :tax_categories, :is_default
  end
end

Version data entries

61 entries across 49 versions & 10 rubygems

Version Path
spree_core-0.70.7 db/migrate/20100605152042_add_default_to_tax_categories.rb
spree-0.11.4 db/migrate/20100605152042_add_default_to_tax_categories.rb
spree_core-0.70.6 db/migrate/20100605152042_add_default_to_tax_categories.rb
apispree_core-0.0.0 db/migrate/20100605152042_add_default_to_tax_categories.rb
My-Commerce_core-1.1.0 db/migrate/20100605152042_add_default_to_tax_categories.rb
My-Commerce_core-1.0.0 db/migrate/20100605152042_add_default_to_tax_categories.rb
MyCommerceapi-1.0.0 core/db/migrate/20100605152042_add_default_to_tax_categories.rb
MyCommerceapi-1.0.0 api/spec/test_app/db/migrate/20100605152042_add_default_to_tax_categories.rb
MyCommerceapi-1.0.0 dash/spec/test_app/db/migrate/20100605152042_add_default_to_tax_categories.rb
MyCommerceapi-1.0.0 auth/spec/test_app/db/migrate/20100605152042_add_default_to_tax_categories.rb
MyCommerceapi-1.0.0 sandbox/db/migrate/20100605152042_add_default_to_tax_categories.rb
MyCommerceapi-1.0.0 core/spec/test_app/db/migrate/20100605152042_add_default_to_tax_categories.rb
MyCommerceapi-1.0.0 promo/spec/test_app/db/migrate/20100605152042_add_default_to_tax_categories.rb
MyCommerce-0.0.3 dash/spec/test_app/db/migrate/20100605152042_add_default_to_tax_categories.rb
MyCommerce-0.0.3 core/db/migrate/20100605152042_add_default_to_tax_categories.rb
MyCommerce-0.0.3 sandbox/db/migrate/20100605152042_add_default_to_tax_categories.rb
MyCommerce-0.0.3 api/spec/test_app/db/migrate/20100605152042_add_default_to_tax_categories.rb
MyCommerce-0.0.3 auth/spec/test_app/db/migrate/20100605152042_add_default_to_tax_categories.rb
MyCommerce-0.0.3 core/spec/test_app/db/migrate/20100605152042_add_default_to_tax_categories.rb
MyCommerce-0.0.3 promo/spec/test_app/db/migrate/20100605152042_add_default_to_tax_categories.rb