feat: reclaim mobile_v2 flag for report_rollup (#13666)

This commit is contained in:
Shivam Mishra
2026-03-02 13:12:42 +05:30
committed by GitHub
parent c08fa631a9
commit 8d48e05283
3 changed files with 11 additions and 4 deletions

View File

@@ -74,10 +74,9 @@
- name: voice_recorder
display_name: Voice Recorder
enabled: true
- name: mobile_v2
display_name: Mobile App V2
- name: report_rollup
display_name: Report Rollup
enabled: false
deprecated: true
- name: channel_website
display_name: Website Channel
enabled: true

View File

@@ -0,0 +1,8 @@
class DisableReportRollupForAllAccounts < ActiveRecord::Migration[7.1]
def up
Account.feature_report_rollup.find_each(batch_size: 100) do |account|
account.disable_features(:report_rollup)
account.save!(validate: false)
end
end
end

View File

@@ -10,7 +10,7 @@
#
# It's strongly recommended that you check this file into your version control system.
ActiveRecord::Schema[7.1].define(version: 2026_02_26_084618) do
ActiveRecord::Schema[7.1].define(version: 2026_02_26_153427) do
# These extensions should be enabled to support this database
enable_extension "pg_stat_statements"
enable_extension "pg_trgm"