Skip to content

Instantly share code, notes, and snippets.

@msevestre
Created June 13, 2012 18:35
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save msevestre/2925704 to your computer and use it in GitHub Desktop.
Save msevestre/2925704 to your computer and use it in GitHub Desktop.
TaxRate Migration
class AddNameToTaxRates < ActiveRecord::Migration
def change
add_column :spree_tax_rates, :name, :string
add_index :spree_tax_rates, :name, :name => 'index_tax_rates_on_name'
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment