From 4ec68dcd85eea1c2d103a7257baea332d8104fca Mon Sep 17 00:00:00 2001 From: Matt-Yorkley <9029026+Matt-Yorkley@users.noreply.github.com> Date: Fri, 29 Jan 2021 02:37:35 +0000 Subject: [PATCH] Update migration to include TaxRate model --- db/migrate/20201227122327_add_included_to_adjustments.rb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/db/migrate/20201227122327_add_included_to_adjustments.rb b/db/migrate/20201227122327_add_included_to_adjustments.rb index 2aebc93706..2ccbeab2a3 100644 --- a/db/migrate/20201227122327_add_included_to_adjustments.rb +++ b/db/migrate/20201227122327_add_included_to_adjustments.rb @@ -1,4 +1,6 @@ class AddIncludedToAdjustments < ActiveRecord::Migration + class Spree::TaxRate < ActiveRecord::Base; end + class Spree::Adjustment < ActiveRecord::Base belongs_to :originator, polymorphic: true end