Skip to content

Commit

Permalink
Update 20170831201542_remove_default_tax_from_spree_zones.rb
Browse files Browse the repository at this point in the history
The migration as written is not reversible unless we specify the data type. This fixes the issue and allows for an easily reversible migration.
  • Loading branch information
brchristian authored Jan 10, 2018
1 parent fb8c724 commit 6817908
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
class RemoveDefaultTaxFromSpreeZones < ActiveRecord::Migration[5.1]
def change
remove_column :spree_zones, :default_tax, default: false
remove_column :spree_zones, :default_tax, :boolean, default: false
end
end

0 comments on commit 6817908

Please sign in to comment.