Skip to content

Commit

Permalink
Fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
kmycode committed Dec 6, 2024
1 parent 067a4ca commit b37fe77
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ class RemoveBoostsWideningAudience < ActiveRecord::Migration[5.2]
disable_ddl_transaction!

def up
add_column :statuses, :searchability, :integer
add_column :statuses, :limited_scope, :integer
# add_column :statuses, :searchability, :integer
# add_column :statuses, :limited_scope, :integer

Status.find_by_sql(<<-SQL.squish)
SELECT boost.id
Expand All @@ -22,8 +22,8 @@ def up
# Sorry, but remove to fix test
# RemovalWorker.push_bulk(public_boosts.pluck(:id))

remove_column :statuses, :searchability
remove_column :statuses, :limited_scope
# remove_column :statuses, :searchability
# remove_column :statuses, :limited_scope
end

def down
Expand Down

0 comments on commit b37fe77

Please sign in to comment.