Add migration to turn varian tags on

This commit is contained in:
Gaetan Craig-Riou
2025-11-18 14:07:12 +11:00
parent acfe180e1d
commit 28af42371b

View File

@@ -0,0 +1,11 @@
# frozen_string_literal: true
class EnableVariantTagsForEnterpriseWithInventoryButNotInUse < ActiveRecord::Migration[7.1]
def up
Flipper.enable_group(:variant_tag, :old_enterprise_with_no_inventory)
end
def down
Flipper.disable_group(:variant_tag, :old_enterprise_with_no_inventory)
end
end