mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-02-26 01:33:22 +00:00
Add migration to turn varian tags on
This commit is contained in:
@@ -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
|
||||
Reference in New Issue
Block a user