Skip to content

armgit / spree

Public Imported from GitHub
0

Open Source Platform for DTC, B2B Commerce, Marketplaces & Omnichannel. REST APIs, TypeScript SDKs, and production-ready Next.js storefront. Self-host it. Own your data. No vendor lock-in. Zero platform fees.

Update 20241005093437_add_multi_code_to_spree_promotions.rb

Damian Legawieca89948acc841
diff --git a/core/db/migrate/20241005093437_add_multi_code_to_spree_promotions.rb b/core/db/migrate/20241005093437_add_multi_code_to_spree_promotions.rb
index 029220b1ed..c027d63532 100644
--- a/core/db/migrate/20241005093437_add_multi_code_to_spree_promotions.rb
+++ b/core/db/migrate/20241005093437_add_multi_code_to_spree_promotions.rb
@@ -1,4 +1,4 @@
-class AddMultiCodeToSpreePromotions < ActiveRecord::Migration[7.2]
+class AddMultiCodeToSpreePromotions < ActiveRecord::Migration[6.1]
def change
add_column :spree_promotions, :code_prefix, :string, if_not_exists: true
add_column :spree_promotions, :number_of_codes, :integer, if_not_exists: true