mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-01-24 20:36:49 +00:00
update admin_style_v3-for-75%
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
class ActivateAdminStyleV3For75PcUsers < ActiveRecord::Migration[7.0]
|
||||
def up
|
||||
Flipper.enable_percentage_of_actors(:admin_style_v3, 75)
|
||||
end
|
||||
|
||||
def down
|
||||
Flipper.enable_percentage_of_actors(:admin_style_v3, 50)
|
||||
end
|
||||
end
|
||||
@@ -10,7 +10,7 @@
|
||||
#
|
||||
# It's strongly recommended that you check this file into your version control system.
|
||||
|
||||
ActiveRecord::Schema[7.0].define(version: 2024_08_01_034710) do
|
||||
ActiveRecord::Schema[7.0].define(version: 2024_08_10_150912) do
|
||||
# These are extensions that must be enabled in order to support this database
|
||||
enable_extension "pg_stat_statements"
|
||||
enable_extension "plpgsql"
|
||||
|
||||
@@ -51,7 +51,7 @@ module OpenFoodNetwork
|
||||
# Copy features here that were activated in a migration so that new
|
||||
# instances, development and test environments have the feature active.
|
||||
"admin_style_v3" => <<~DESC,
|
||||
Test the work-in-progress design updates.
|
||||
Test the work-in-progress design updates. Activated for admins, new users, and 75% of all users.
|
||||
DESC
|
||||
}.freeze
|
||||
|
||||
|
||||
Reference in New Issue
Block a user