Sha256: 2394dd2b8b98f3b2bb71958ba161da11424f0021b187a39070ebab63055f87c6

Contents?: true

Size: 262 Bytes

Versions: 25

Compression:

Stored size: 262 Bytes

Contents

class CreateTaxRates < ActiveRecord::Migration
  def self.up
    create_table :tax_rates do |t|
      t.references :state
      t.decimal :amount, :precision => 8, :scale => 4
      t.timestamps
    end
  end

  def self.down
    drop_table :tax_rates
  end
end

Version data entries

25 entries across 19 versions & 2 rubygems

Version Path
spree-enriquez-0.9.4 db/migrate/migrate/20080620100001_create_tax_rates.rb
spree-enriquez-0.9.4 db/migrate/20080620100001_create_tax_rates.rb
spree-0.9.4 db/migrate/migrate/20080620100001_create_tax_rates.rb
spree-0.9.4 db/migrate/20080620100001_create_tax_rates.rb
spree-0.9.3 db/migrate/20080620100001_create_tax_rates.rb
spree-0.9.3 db/migrate/migrate/20080620100001_create_tax_rates.rb
spree-0.9.2 db/migrate/migrate/20080620100001_create_tax_rates.rb
spree-0.9.2 db/migrate/20080620100001_create_tax_rates.rb
spree-0.9.1 db/migrate/migrate/20080620100001_create_tax_rates.rb
spree-0.9.1 db/migrate/20080620100001_create_tax_rates.rb
spree-0.9.0 db/migrate/migrate/20080620100001_create_tax_rates.rb
spree-0.9.0 db/migrate/20080620100001_create_tax_rates.rb
spree-0.8.4 vendor/extensions/tax_calculator/db/migrate/20080620100001_create_tax_rates.rb
spree-0.8.5 vendor/extensions/tax_calculator/db/migrate/20080620100001_create_tax_rates.rb
spree-0.4.1 vendor/extensions/tax_calculator/db/migrate/20080620100001_create_tax_rates.rb
spree-0.4.0 vendor/extensions/tax_calculator/db/migrate/20080620100001_create_tax_rates.rb
spree-0.5.0 vendor/extensions/tax_calculator/db/migrate/20080620100001_create_tax_rates.rb
spree-0.6.0 vendor/extensions/tax_calculator/db/migrate/20080620100001_create_tax_rates.rb
spree-0.5.1 vendor/extensions/tax_calculator/db/migrate/20080620100001_create_tax_rates.rb
spree-0.7.1 vendor/extensions/tax_calculator/db/migrate/20080620100001_create_tax_rates.rb