From 431706b7043750581b0e53d8a7c0f06e449cb3ae Mon Sep 17 00:00:00 2001 From: Matt-Yorkley <9029026+Matt-Yorkley@users.noreply.github.com> Date: Sun, 7 Feb 2021 12:50:51 +0000 Subject: [PATCH] Add tax_category_id to spree_shipping_methods --- ...20210207120753_add_tax_category_id_to_shipping_methods.rb | 5 +++++ db/schema.rb | 1 + 2 files changed, 6 insertions(+) create mode 100644 db/migrate/20210207120753_add_tax_category_id_to_shipping_methods.rb diff --git a/db/migrate/20210207120753_add_tax_category_id_to_shipping_methods.rb b/db/migrate/20210207120753_add_tax_category_id_to_shipping_methods.rb new file mode 100644 index 0000000000..b330c066e8 --- /dev/null +++ b/db/migrate/20210207120753_add_tax_category_id_to_shipping_methods.rb @@ -0,0 +1,5 @@ +class AddTaxCategoryIdToShippingMethods < ActiveRecord::Migration + def change + add_column :spree_shipping_methods, :tax_category_id, :integer + end +end diff --git a/db/schema.rb b/db/schema.rb index 5321045034..565509c577 100644 --- a/db/schema.rb +++ b/db/schema.rb @@ -807,6 +807,7 @@ ActiveRecord::Schema.define(version: 20210320003951) do t.boolean "require_ship_address", default: true t.text "description" t.string "tracking_url", limit: 255 + t.integer "tax_category_id" end create_table "spree_shipping_methods_zones", id: false, force: :cascade do |t|