Skip to content

Commit

Permalink
Fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
kmycode committed Oct 26, 2023
1 parent 3ef33db commit d756b2a
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions db/migrate/20180812173710_copy_status_stats.rb
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,15 @@ class CopyStatusStats < ActiveRecord::Migration[5.2]

def up
safety_assured do
add_column :statuses, :searchability, :integer
add_column :statuses, :limited_scope, :integer
if supports_upsert?
up_fast
else
up_slow
end
remove_column :statuses, :searchability
remove_column :statuses, :limited_scope
end
end

Expand Down

0 comments on commit d756b2a

Please sign in to comment.