diff options
Diffstat (limited to 'db/migrate/20191213184609_backfill_operations_feature_flags_active.rb')
-rw-r--r-- | db/migrate/20191213184609_backfill_operations_feature_flags_active.rb | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/db/migrate/20191213184609_backfill_operations_feature_flags_active.rb b/db/migrate/20191213184609_backfill_operations_feature_flags_active.rb deleted file mode 100644 index cc61b30acae..00000000000 --- a/db/migrate/20191213184609_backfill_operations_feature_flags_active.rb +++ /dev/null @@ -1,20 +0,0 @@ -# frozen_string_literal: true - -class BackfillOperationsFeatureFlagsActive < ActiveRecord::Migration[5.2] - DOWNTIME = false - - disable_ddl_transaction! - - class OperationsFeatureFlag < ActiveRecord::Base - self.table_name = 'operations_feature_flags' - self.inheritance_column = :_type_disabled - end - - def up - OperationsFeatureFlag.where(active: false).update_all(active: true) - end - - def down - # no-op - end -end |